mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 08:25:46 +01:00
filter:users.search filter:users.build hooks
This commit is contained in:
@@ -106,7 +106,7 @@ module.exports = function(User) {
|
||||
db.deleteAll(['followers:' + uid, 'following:' + uid, 'user:' + uid], next);
|
||||
},
|
||||
function(next) {
|
||||
db.decrObjectField('global', 'userCount', next);
|
||||
User.updateUserCount(next);
|
||||
}
|
||||
], callback);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user