mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-30 18:46:01 +01:00
removed optional params
This commit is contained in:
@@ -107,16 +107,6 @@ module.exports = function(redisClient, module) {
|
||||
};
|
||||
|
||||
function sortedSetUnion(sets, reverse, start, stop, callback) {
|
||||
// start and stop optional
|
||||
if (typeof start === 'function') {
|
||||
callback = start;
|
||||
start = 0;
|
||||
stop = -1;
|
||||
} else if (typeof stop === 'function') {
|
||||
callback = stop;
|
||||
stop = -1;
|
||||
}
|
||||
|
||||
var multi = redisClient.multi();
|
||||
|
||||
// zunionstore prep
|
||||
|
||||
Reference in New Issue
Block a user