From d875079377abaaa12a8f0d98a4e471f049275ab6 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 25 Jul 2008 18:12:35 +0000 Subject: [PATCH] Revert part of last commit --- chrome/content/zotero/xpcom/schema.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/schema.js b/chrome/content/zotero/xpcom/schema.js index 2a5701d2f..2b7ad20b4 100644 --- a/chrome/content/zotero/xpcom/schema.js +++ b/chrome/content/zotero/xpcom/schema.js @@ -1633,7 +1633,7 @@ Zotero.Schema = new function(){ // Migrate big integers var itemIDs = Zotero.DB.columnQuery("SELECT itemID FROM items WHERE itemID>16777215"); for each(var oldID in itemIDs) { - var newID = Zotero.ID.get('items', true); + var newID = Zotero.ID.get('items'); var params = [newID, oldID]; Zotero.DB.query("UPDATE items SET itemID=? WHERE itemID=?", params); Zotero.DB.query("UPDATE annotations SET itemID=? WHERE itemID=?", params);