fix findAndModify

temp fix for connect-mongo
create admin after categories
This commit is contained in:
Barış Soner Uşaklı
2015-03-03 16:16:32 -05:00
parent e421a2c7cd
commit 6bd3c54a03
5 changed files with 8 additions and 6 deletions

View File

@@ -468,8 +468,8 @@ install.setup = function (callback) {
setupConfig,
setupDefaultConfigs,
enableDefaultTheme,
createAdministrator,
createCategories,
createAdministrator,
createMenuItems,
createWelcomePost,
enableDefaultPlugins,
@@ -479,7 +479,7 @@ install.setup = function (callback) {
}
], function (err) {
if (err) {
winston.warn('NodeBB Setup Aborted. ' + err.message);
winston.warn('NodeBB Setup Aborted.\n ' + err.stack);
process.exit();
} else {
callback();