Properly delete library version for full-text sync on library delete

This commit is contained in:
Dan Stillman 2016-03-27 03:19:39 -04:00
parent b5adb084f2
commit 8b1f10aee0

View File

@ -119,7 +119,7 @@ Zotero.Fulltext = Zotero.FullText = new function(){
this.clearLibraryVersion = function (libraryID) {
return Zotero.DB.queryAsync("DELETE FROM version WHERE schema=?", "fulltext" + libraryID);
return Zotero.DB.queryAsync("DELETE FROM version WHERE schema=?", "fulltext_" + libraryID);
};