Check DB lock before checking for restore-from-server marker
This commit is contained in:
parent
ce6a0ecb01
commit
62177e208d
1 changed files with 2 additions and 2 deletions
|
@ -446,6 +446,8 @@ Components.utils.import("resource://gre/modules/osfile.jsm");
|
|||
* @return {Promise:Boolean}
|
||||
*/
|
||||
var _initFull = Zotero.Promise.coroutine(function* () {
|
||||
if (!(yield _initDB())) return false;
|
||||
|
||||
Zotero.VersionHeader.init();
|
||||
|
||||
// Check for data reset/restore
|
||||
|
@ -490,8 +492,6 @@ Components.utils.import("resource://gre/modules/osfile.jsm");
|
|||
}
|
||||
}
|
||||
|
||||
if(!(yield _initDB())) return false;
|
||||
|
||||
Zotero.HTTP.triggerProxyAuth();
|
||||
|
||||
// Add notifier queue callbacks to the DB layer
|
||||
|
|
Loading…
Add table
Reference in a new issue