Skip to content

Node.js based forum software built for the modern web

fix global moderators upgrade script

barisusakli7180174b9189
diff --git a/src/upgrade.js b/src/upgrade.js
index 2d2001fc41..f6f1ce0093 100644
--- a/src/upgrade.js
+++ b/src/upgrade.js
@@ -384,7 +384,7 @@ Upgrade.upgrade = function(callback) {
},
function (exists, next) {
if (exists) {
- return next();
+ return next(null, null);
}
groups.create({
name: 'Global Moderators',