diff --git a/chrome/content/zotero/xpcom/storage/storageEngine.js b/chrome/content/zotero/xpcom/storage/storageEngine.js index 6142943e43..4d638ced96 100644 --- a/chrome/content/zotero/xpcom/storage/storageEngine.js +++ b/chrome/content/zotero/xpcom/storage/storageEngine.js @@ -155,7 +155,7 @@ Zotero.Sync.Storage.Engine.prototype.start = Zotero.Promise.coroutine(function* && this.local.lastFullFileCheck[libraryID] && (this.local.lastFullFileCheck[libraryID] + (this.maxCheckAge * 1000)) > new Date().getTime()) { - let itemIDs = this.local.getFilesToCheck(libraryID, this.maxCheckAge); + let itemIDs = yield this.local.getFilesToCheck(libraryID, this.maxCheckAge); yield this.local.checkForUpdatedFiles(libraryID, itemIDs); } // Otherwise check all files in library