From 19902407332a7800c00b04b4b0919ed9bad702a4 Mon Sep 17 00:00:00 2001 From: Klaus Flittner Date: Thu, 26 Feb 2015 20:08:30 +0100 Subject: [PATCH] Restore settings to server If the local data is to be resotres to the zotero server, the settings like tag colors also need to be synced again. --- 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 e64888bc6..5ad6cb4b2 100644 --- a/chrome/content/zotero/xpcom/sync.js +++ b/chrome/content/zotero/xpcom/sync.js @@ -1924,6 +1924,9 @@ Zotero.Sync.Server = new function () { sql = "INSERT INTO version VALUES ('syncdeletelog', ?)"; Zotero.DB.query(sql, Zotero.Date.getUnixTimestamp()); + var sql = "UPDATE syncedSettings SET synced=0"; + Zotero.DB.query(sql); + Zotero.DB.commitTransaction(); }