Skip to content

Node.js based forum software built for the modern web

closes #2354

barisusakli1004fb2822c5
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);
}