From 3c0e4a2ce458663814a293c1c6e773a1888cb32f Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 7 Mar 2013 15:23:15 -0500 Subject: [PATCH] Don't sync updated settings more than once --- chrome/content/zotero/xpcom/sync.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/chrome/content/zotero/xpcom/sync.js b/chrome/content/zotero/xpcom/sync.js index a737f0009a..3b3ef66a62 100644 --- a/chrome/content/zotero/xpcom/sync.js +++ b/chrome/content/zotero/xpcom/sync.js @@ -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();