Send urifix GET flag to repo on 1.0.3 upgrade

This commit is contained in:
Dan Stillman 2008-01-24 18:55:20 +00:00
parent 4000f43821
commit bf94ea3eae

View File

@ -210,6 +210,7 @@ Zotero.Schema = new function(){
if (syncVersion < syncTargetVersion) {
_updateDBVersion('sync', syncTargetVersion);
force = true;
var uriChangeFix = true;
}
}
@ -265,6 +266,11 @@ Zotero.Schema = new function(){
else {
url += '&m=1';
}
// Fix for styles with new URIs in 1.0.3
if (uriChangeFix) {
url += '&urifix=1';
}
}
var get = Zotero.Utilities.HTTP.doGet(url, function (xmlhttp) {