mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-06 12:31:33 +01:00
incr on user create
This commit is contained in:
@@ -141,7 +141,7 @@ module.exports = function(User) {
|
||||
], next);
|
||||
},
|
||||
function(results, next) {
|
||||
User.updateUserCount(next);
|
||||
db.incrObjectField('global', 'userCount', next);
|
||||
},
|
||||
function(next) {
|
||||
if (userNameChanged) {
|
||||
|
||||
Reference in New Issue
Block a user