added back err to redis flushdb

v1.18.x
Baris Soner Usakli 11 years ago
parent 4986c8ed3a
commit da0e1a8eb9

@ -118,7 +118,7 @@
module.flushdb = function(callback) {
redisClient.send_command('flushdb', [], function(err) {
if (typeof callback === 'function') {
callback();
callback(err);
}
});
};

Loading…
Cancel
Save