mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 08:25:46 +01:00
fixing user deletion, missing cb
This commit is contained in:
@@ -295,7 +295,7 @@ module.exports = function(User) {
|
|||||||
db.delete('user:' + uid, next);
|
db.delete('user:' + uid, next);
|
||||||
},
|
},
|
||||||
function(next) {
|
function(next) {
|
||||||
db.decrObjectField('global', 'userCount');
|
db.decrObjectField('global', 'userCount', next);
|
||||||
}
|
}
|
||||||
], callback);
|
], callback);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user