From 7f534cc7b8fb19a465e856fc81050a631ab06f2c Mon Sep 17 00:00:00 2001 From: barisusakli Date: Wed, 25 Jun 2014 18:16:42 -0400 Subject: [PATCH] sorted set refactor --- src/database/redis/sorted.js | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/src/database/redis/sorted.js b/src/database/redis/sorted.js index 389f322486..abe6a684f1 100644 --- a/src/database/redis/sorted.js +++ b/src/database/redis/sorted.js @@ -10,13 +10,7 @@ module.exports = function(redisClient, module) { }; module.sortedSetsRemove = function(keys, value, callback) { - var multi = redisClient.multi(); - - for(var x=0; x