upgrade script

This commit is contained in:
barisusakli
2015-05-20 16:08:22 -04:00
parent 5f23f04423
commit 55e20b28ec
2 changed files with 47 additions and 2 deletions

View File

@@ -82,7 +82,7 @@ usersController.getUsersAndCount = function(set, uid, start, stop, callback) {
user.getUsersFromSet(set, uid, start, stop, next);
},
count: function(next) {
db.sortedSetCard(set, next);
db.getObjectField('global', 'userCount', next);
}
}, function(err, results) {
if (err) {