incr on user create

This commit is contained in:
barisusakli
2015-05-21 14:23:01 -04:00
parent d90f3649a6
commit 8acb0ca304

View File

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