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