зеркало из https://github.com/mozilla/gecko-dev.git
Address review comments nits. r=thunder
This commit is contained in:
Родитель
8973822877
Коммит
a8046d8b8e
|
@ -321,7 +321,7 @@ BookmarksStore.prototype = {
|
|||
// Do some post-processing if we have an item
|
||||
let itemId = idForGUID(record.id);
|
||||
if (itemId > 0) {
|
||||
// Move any children that is looking for this folder as a parent
|
||||
// Move any children that are looking for this folder as a parent
|
||||
if (record.type == "folder")
|
||||
this._reparentOrphans(itemId);
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ FormEngine.prototype = {
|
|||
this._store.clearFormCache();
|
||||
|
||||
// Only leave 1 month's worth of form history
|
||||
this._delete.older = this.lastSync - 2592000;
|
||||
this._delete.older = this.lastSync - 2592000; // 60*60*24*30
|
||||
SyncEngine.prototype._syncFinish.call(this);
|
||||
},
|
||||
|
||||
|
|
|
@ -86,7 +86,7 @@ HistoryEngine.prototype = {
|
|||
|
||||
_syncFinish: function HistEngine__syncFinish(error) {
|
||||
// Only leave 1 week's worth of history on the server
|
||||
this._delete.older = this.lastSync - 604800;
|
||||
this._delete.older = this.lastSync - 604800; // 60*60*24*7
|
||||
SyncEngine.prototype._syncFinish.call(this);
|
||||
},
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче