mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-13 17:35:46 +01:00
closes #2354
This commit is contained in:
@@ -391,7 +391,7 @@ var async = require('async'),
|
|||||||
db.rename('group:' + oldName, 'group:' + newName, next);
|
db.rename('group:' + oldName, 'group:' + newName, next);
|
||||||
},
|
},
|
||||||
function(next) {
|
function(next) {
|
||||||
Groups.exists('group:' + oldName + ':members', function(err, exists) {
|
db.exists('group:' + oldName + ':members', function(err, exists) {
|
||||||
if (err) {
|
if (err) {
|
||||||
return next(err);
|
return next(err);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user