removed optional params

This commit is contained in:
barisusakli
2014-07-24 23:33:33 -04:00
parent c7de38f28e
commit 3829019bfa
4 changed files with 2 additions and 29 deletions

View File

@@ -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