Fix broken item deleting (fulltext regression)

This commit is contained in:
Dan Stillman 2006-09-23 08:00:01 +00:00
parent 9bc5c4435e
commit 3f0fb0e4e6

View File

@ -1465,7 +1465,7 @@ Scholar.Item.prototype.erase = function(deleteChildren){
// Clear fulltext cache
Scholar.Fulltext.clearItemWords(this.getID());
Scholar.Fulltext.clearItemContent(this.getID());
//Scholar.Fulltext.clearItemContent(this.getID());
Scholar.Fulltext.purgeUnusedWords();
sql = 'DELETE FROM itemCreators WHERE itemID=' + this.getID() + ";\n";