www

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

commit 7c0bc7035bf480a5878c97a20d1c83b1d4841172
parent 0c01dc2d6ee00accc430d4396f7590f862433a36
Author: Dan Stillman <dstillman@zotero.org>
Date:   Fri, 17 Oct 2008 21:49:43 +0000

Some debug lines for key upgrade process testing


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

diff --git a/chrome/content/zotero/xpcom/schema.js b/chrome/content/zotero/xpcom/schema.js @@ -1791,13 +1791,18 @@ Zotero.Schema = new function(){ for each(var row in rows) { keys[row.itemID] = row.key; } + Zotero.debug(keys); if (storage37.exists()) { var entries = storage37.directoryEntries; while (entries.hasMoreElements()) { var file = entries.getNext(); file.QueryInterface(Components.interfaces.nsILocalFile); + Zotero.debug("Directory is " + file.leafName); var id = parseInt(file.leafName); + Zotero.debug(id); + Zotero.debug(file.isDirectory()); if (!file.isDirectory() || file.leafName != id) { + Zotero.debug("Skipping " + id); continue; } if (keys[id]) {