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) {
// Check if an administrator needs to be created
var Groups = require('./groups');
Groups.get('administrators', {}, function (err, groupObj) {
if (groupObj.memberCount > 0) {
winston.info('Administrator found, skipping Admin setup');
next();
} else {
install.createAdmin(next);
}
});
Groups.get('administrators', {}, function (err, groupObj) {
if (groupObj.memberCount > 0) {
winston.info('Administrator found, skipping Admin setup');
next();
} else {
install.createAdmin(next);
}
});
},
function (next) {

Loading…
Cancel
Save