Closed
Bug 867008
Opened 12 years ago
Closed 12 years ago
Remove previous calls to PlacesUtils.backups and move them to PlacesBackups (SeaMonkey)
Categories
(SeaMonkey :: General, defect)
SeaMonkey
General
Tracking
(Not tracked)
RESOLVED
FIXED
seamonkey2.20
People
(Reporter: mcsmurf, Assigned: mcsmurf)
References
Details
Attachments
(1 file, 2 obsolete files)
7.85 KB,
patch
|
neil
:
review+
|
Details | Diff | Splinter Review |
See Bug 855638, PlacesUtils.backups has been deprecated and replaced by PlacesBackups.
Assignee | ||
Updated•12 years ago
|
OS: Windows 7 → All
Hardware: x86_64 → All
Assignee | ||
Comment 1•12 years ago
|
||
This is what has been done so far, this does not replace every occurrence of PlacesUtils.backups though. Part of that will be done in Bug 867068 as some of this involves switching to the new async API.
Assignee | ||
Comment 2•12 years ago
|
||
Attachment #743498 -
Attachment is obsolete: true
Assignee | ||
Comment 3•12 years ago
|
||
Simple find&replace patch (plus adding the new PlacesBackups module to the relevent files). See http://hg.mozilla.org/mozilla-central/annotate/60e522be9d08/toolkit/components/places/PlacesUtils.jsm#l1575 for what PlacesUtils.backups does these days, it just returns the PlacesBackups object (ignore Comment 1 from this bug, it was wrong).
Assignee: nobody → bugzilla
Attachment #743500 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #743595 -
Flags: review?(neil)
Comment 4•12 years ago
|
||
Comment on attachment 743595 [details] [diff] [review]
Patch 3
> Components.utils.import("resource://gre/modules/PlacesUtils.jsm");
> Components.utils.import("resource:///modules/PlacesUIUtils.jsm");
>+ Components.utils.import("resource://gre/modules/PlacesBackups.jsm");
Nit: PlacesUIUtils last. (If you decide that PlacesBackups goes first, change it in the other files too.)
Attachment #743595 -
Flags: review?(neil) → review+
Assignee | ||
Comment 5•12 years ago
|
||
Pushed with PlacesBackup being in the middle between PlacesUtils and PlacesUIUtils: https://hg.mozilla.org/comm-central/rev/4628ff514b94
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.20
You need to log in
before you can comment on or make changes to this bug.
Description
•