зеркало из https://github.com/mozilla/gecko-dev.git
Bug 531201 - Add back a stub archiveBookmarksFile method for Weave compatibility, r=mconnor
This commit is contained in:
Родитель
7a31cb37fa
Коммит
941d0f6cbe
|
@ -1729,6 +1729,17 @@ var PlacesUtils = {
|
||||||
this.backups.saveBookmarksToJSONFile(aFile);
|
this.backups.saveBookmarksToJSONFile(aFile);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates a dated backup in <profile>/bookmarkbackups.
|
||||||
|
* Stores the bookmarks using JSON.
|
||||||
|
*
|
||||||
|
* @see backups.create(aMaxBackups, aForceBackup)
|
||||||
|
*/
|
||||||
|
archiveBookmarksFile:
|
||||||
|
function PU_archiveBookmarksFile(aMaxBackups, aForceBackup) {
|
||||||
|
this.backups.create(aMaxBackups, aForceBackup);
|
||||||
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Helper to create and manage backups.
|
* Helper to create and manage backups.
|
||||||
*/
|
*/
|
||||||
|
|
Загрузка…
Ссылка в новой задаче