Don't update retractions on bundled file update notification
This commit is contained in:
parent
1bd0e7ccda
commit
6a6e4fa92c
1 changed files with 7 additions and 5 deletions
|
@ -1527,12 +1527,14 @@ Zotero.Schema = new function(){
|
||||||
yield Zotero.DB.waitForTransaction();
|
yield Zotero.DB.waitForTransaction();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (mode == this.REPO_UPDATE_PERIODIC || mode == this.REPO_UPDATE_STARTUP) {
|
||||||
try {
|
try {
|
||||||
yield Zotero.Retractions.updateFromServer();
|
yield Zotero.Retractions.updateFromServer();
|
||||||
}
|
}
|
||||||
catch (e) {
|
catch (e) {
|
||||||
Zotero.logError(e);
|
Zotero.logError(e);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Get the last timestamp we got from the server
|
// Get the last timestamp we got from the server
|
||||||
var lastUpdated = yield this.getDBVersion('repository');
|
var lastUpdated = yield this.getDBVersion('repository');
|
||||||
|
|
Loading…
Reference in a new issue