mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-06-26 08:31:43 +02:00
backport upgradescript fix for global moderators
This commit is contained in:
@@ -384,7 +384,7 @@ Upgrade.upgrade = function(callback) {
|
||||
},
|
||||
function (exists, next) {
|
||||
if (exists) {
|
||||
return next();
|
||||
return next(null, null);
|
||||
}
|
||||
groups.create({
|
||||
name: 'Global Moderators',
|
||||
|
||||
Reference in New Issue
Block a user