v1.18.x
barisusakli 11 years ago
parent d6b6e39f2a
commit 2f8ecc00d8

@ -174,7 +174,7 @@ var bcrypt = require('bcryptjs'),
db.getSortedSetRevRange(set, start, stop, next); db.getSortedSetRevRange(set, start, stop, next);
}, },
function(uids, next) { function(uids, next) {
User.getUsersData(uids, next); User.getMultipleUserFields(uids, ['uid', 'username', 'userslug', 'picture', 'status', 'banned', 'postcount', 'reputation'], next);
}, },
function(users, next) { function(users, next) {
async.map(users, loadUserInfo, next); async.map(users, loadUserInfo, next);

Loading…
Cancel
Save