incr on user create

v1.18.x
barisusakli 10 years ago
parent d90f3649a6
commit 8acb0ca304

@ -141,7 +141,7 @@ module.exports = function(User) {
], next);
},
function(results, next) {
User.updateUserCount(next);
db.incrObjectField('global', 'userCount', next);
},
function(next) {
if (userNameChanged) {

Loading…
Cancel
Save