www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 19902407332a7800c00b04b4b0919ed9bad702a4
parent 94b2865149391b391e9af394508df5c948ffcd86
Author: Klaus Flittner <klaus@flittner.org>
Date:   Thu, 26 Feb 2015 20:08:30 +0100

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.

Diffstat:
Mchrome/content/zotero/xpcom/sync.js | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git 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(); }