From 3a1a09a6ecee357b4dd84f9c92ead9ac83d4ee72 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 8 Aug 2008 22:06:42 +0000 Subject: [PATCH] r3178 may find some crazy things --- chrome/content/zotero/xpcom/data/item.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/chrome/content/zotero/xpcom/data/item.js b/chrome/content/zotero/xpcom/data/item.js index 81a8b967e..28b5b5a65 100644 --- a/chrome/content/zotero/xpcom/data/item.js +++ b/chrome/content/zotero/xpcom/data/item.js @@ -3117,8 +3117,6 @@ Zotero.Item.prototype.erase = function(deleteChildren) { Zotero.DB.query('DELETE FROM annotations WHERE itemID=?', this.id); Zotero.DB.query('DELETE FROM highlights WHERE itemID=?', this.id); - Zotero.DB.query(sql); - try { Zotero.DB.commitTransaction(); }