r3178 may find some crazy things

This commit is contained in:
Dan Stillman 2008-08-08 22:06:42 +00:00
parent 1cb7aa6a06
commit 6c56cc9b73

View file

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