Fix "no such column: groupID" sync error
This commit is contained in:
parent
21f1e3789e
commit
3a6977a733
1 changed files with 3 additions and 3 deletions
|
@ -357,11 +357,11 @@ Zotero.Group.prototype.erase = function() {
|
|||
|
||||
// Delete group
|
||||
sql = "DELETE FROM groups WHERE groupID=?";
|
||||
ids = Zotero.DB.query(sql, this.id)
|
||||
Zotero.DB.query(sql, this.id)
|
||||
|
||||
// Delete library
|
||||
sql = "DELETE FROM libraries WHERE groupID=?";
|
||||
ids = Zotero.DB.query(sql, this.id)
|
||||
sql = "DELETE FROM libraries WHERE libraryID=?";
|
||||
Zotero.DB.query(sql, this.libraryID)
|
||||
|
||||
Zotero.purgeDataObjects();
|
||||
|
||||
|
|
Loading…
Reference in a new issue