From 1004fb2822c5cd3ed199cf75f04d311e6dec097b Mon Sep 17 00:00:00 2001 From: barisusakli Date: Thu, 6 Nov 2014 16:29:14 -0500 Subject: [PATCH] closes #2354 --- src/groups.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/groups.js b/src/groups.js index d3ca167d6d..4f007f1eec 100644 --- a/src/groups.js +++ b/src/groups.js @@ -391,7 +391,7 @@ var async = require('async'), db.rename('group:' + oldName, 'group:' + newName, next); }, function(next) { - Groups.exists('group:' + oldName + ':members', function(err, exists) { + db.exists('group:' + oldName + ':members', function(err, exists) { if (err) { return next(err); }