Don't sync updated settings more than once

This commit is contained in:
Dan Stillman 2013-03-07 15:23:15 -05:00
parent 6ea38df873
commit 3c0e4a2ce4

View File

@ -1631,6 +1631,9 @@ Zotero.Sync.Server = new function () {
Zotero.Sync.Server.nextLocalSyncDate = false;
Zotero.Sync.Server.lastRemoteSyncTime = response.getAttribute('timestamp');
var sql = "UPDATE syncedSettings SET synced=1";
Zotero.DB.query(sql);
//throw('break2');
Zotero.DB.commitTransaction();