Bug 531201 - Add back a stub archiveBookmarksFile method for Weave compatibility, r=mconnor

This commit is contained in:
Marco Bonardo 2009-12-17 22:28:12 +01:00
Родитель 7a31cb37fa
Коммит 941d0f6cbe
1 изменённых файлов: 11 добавлений и 0 удалений

Просмотреть файл

@ -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.
*/ */