Delete libraries table row when deleting group
This commit is contained in:
parent
81d389a6c4
commit
800261db26
1 changed files with 4 additions and 0 deletions
|
@ -359,6 +359,10 @@ Zotero.Group.prototype.erase = function() {
|
|||
sql = "DELETE FROM groups WHERE groupID=?";
|
||||
ids = Zotero.DB.query(sql, this.id)
|
||||
|
||||
// Delete library
|
||||
sql = "DELETE FROM libraries WHERE groupID=?";
|
||||
ids = Zotero.DB.query(sql, this.id)
|
||||
|
||||
Zotero.purgeDataObjects();
|
||||
|
||||
var notifierData = {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue