Don't update retractions on bundled file update notification

This commit is contained in:
Dan Stillman 2021-07-21 03:43:52 -04:00
parent 1bd0e7ccda
commit 6a6e4fa92c

View file

@ -1527,11 +1527,13 @@ Zotero.Schema = new function(){
yield Zotero.DB.waitForTransaction();
}
try {
yield Zotero.Retractions.updateFromServer();
}
catch (e) {
Zotero.logError(e);
if (mode == this.REPO_UPDATE_PERIODIC || mode == this.REPO_UPDATE_STARTUP) {
try {
yield Zotero.Retractions.updateFromServer();
}
catch (e) {
Zotero.logError(e);
}
}
// Get the last timestamp we got from the server