mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-12 08:55:47 +01:00
updating groups so that members leave a group when it is deleted
This commit is contained in:
@@ -178,6 +178,9 @@
|
||||
},
|
||||
function(next) {
|
||||
db.setRemove('groups', groupName, next);
|
||||
},
|
||||
function(next) {
|
||||
db.delete('group:' + groupName + ':members', next);
|
||||
}
|
||||
], callback);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user