mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-06-20 01:30:40 +02:00
Merge branch 'master' into v0.4.x
This commit is contained in:
@@ -295,7 +295,7 @@ module.exports = function(User) {
|
||||
db.delete('user:' + uid, next);
|
||||
},
|
||||
function(next) {
|
||||
db.decrObjectField('global', 'userCount');
|
||||
db.decrObjectField('global', 'userCount', next);
|
||||
}
|
||||
], callback);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user