Merge pull request #1257 from theon/fix-syntax-error

Fix syntax error
v1.18.x
Barış Soner Uşaklı 11 years ago
commit 4e10ee473c

@ -290,14 +290,13 @@ var async = require('async'),
function (next) { function (next) {
// Check if an administrator needs to be created // Check if an administrator needs to be created
var Groups = require('./groups'); var Groups = require('./groups');
Groups.get('administrators', {}, function (err, groupObj) { Groups.get('administrators', {}, function (err, groupObj) {
if (groupObj.memberCount > 0) { if (groupObj.memberCount > 0) {
winston.info('Administrator found, skipping Admin setup'); winston.info('Administrator found, skipping Admin setup');
next(); next();
} else { } else {
install.createAdmin(next); install.createAdmin(next);
} }
});
}); });
}, },
function (next) { function (next) {

Loading…
Cancel
Save