diff --git a/chrome/content/zotero/xpcom/schema.js b/chrome/content/zotero/xpcom/schema.js index 6b5740b0b..781ae5f19 100644 --- a/chrome/content/zotero/xpcom/schema.js +++ b/chrome/content/zotero/xpcom/schema.js @@ -203,6 +203,16 @@ Zotero.Schema = new function(){ * since the last check **/ function updateScrapersRemote(force, callback) { + // Little hack to manually update from repo on upgrade to 1.0.3 + if (!force) { + var syncTargetVersion = 1; // increment this when releasing new version that requires it + var syncVersion = _getDBVersion('sync'); + if (syncVersion < syncTargetVersion) { + _updateDBVersion('sync', syncTargetVersion); + force = true; + } + } + if (!force){ if (_remoteUpdateInProgress) { Zotero.debug("A remote update is already in progress -- not checking repository");