www

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

commit 5ec7c97f306f537bdd1b801f116380d337af1085
parent 892d4fb5da5401bead412f4aeb9a1c7b7a4f9832
Author: Dan Stillman <dstillman@zotero.org>
Date:   Tue, 12 Sep 2017 16:22:46 -0400

Add debugging for userID change

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

diff --git a/chrome/content/zotero/xpcom/sync/syncLocal.js b/chrome/content/zotero/xpcom/sync/syncLocal.js @@ -122,6 +122,8 @@ Zotero.Sync.Data.Local = { var lastUsername = Zotero.Users.getCurrentUsername(); if (lastUserID && lastUserID != userID) { + Zotero.debug(`Last user id ${lastUserID}, current user id ${userID}, ` + + `last username '${lastUsername}', current username '${username}'`, 2); var io = { title: Zotero.getString('general.warning'), text: [Zotero.getString('account.lastSyncWithDifferentAccount', [ZOTERO_CONFIG.CLIENT_NAME, lastUsername, username])],