mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 20:16:04 +01:00
use set to get groups
This commit is contained in:
@@ -105,8 +105,8 @@ var async = require('async'),
|
||||
}
|
||||
};
|
||||
|
||||
Groups.getGroups = function(start, stop, callback) {
|
||||
db.getSortedSetRevRange('groups:createtime', start, stop, callback);
|
||||
Groups.getGroups = function(set, start, stop, callback) {
|
||||
db.getSortedSetRevRange(set, start, stop, callback);
|
||||
};
|
||||
|
||||
Groups.get = function(groupName, options, callback) {
|
||||
|
||||
Reference in New Issue
Block a user