backport upgradescript fix for global moderators

This commit is contained in:
Barış Soner Uşaklı
2016-03-05 11:46:11 +02:00
parent 55b43dca23
commit 8f8fcc8416

View File

@@ -384,7 +384,7 @@ Upgrade.upgrade = function(callback) {
},
function (exists, next) {
if (exists) {
return next();
return next(null, null);
}
groups.create({
name: 'Global Moderators',