display 4 rows of active users

v1.18.x
Baris Soner Usakli 11 years ago
parent 1c14bcd1ed
commit 7f4a1cd685

@ -411,7 +411,7 @@ var db = require('./database'),
};
Categories.getActiveUsers = function(cid, callback) {
db.getSortedSetRevRange('cid:' + cid + ':active_users', 0, 15, callback);
db.getSortedSetRevRange('cid:' + cid + ':active_users', 0, 31, callback);
};
Categories.moveActiveUsers = function(tid, oldCid, cid, callback) {

Loading…
Cancel
Save