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

@@ -177,14 +177,6 @@ module.exports = function(db, module) {
};
function getSortedSetUnion(sets, sort, start, stop, callback) {
if (typeof start === 'function') {
callback = start;
start = 0;
stop = -1;
} else if (typeof stop === 'function') {
callback = stop;
stop = -1;
}
var limit = stop - start + 1;
if (limit <= 0) {
limit = 0;