Merge pull request #1161 from code-press/master

Upgrade script incorrectly looking for "err"
v1.18.x
Barış Soner Uşaklı 11 years ago
commit b79169a765

@ -203,12 +203,8 @@ Upgrade.upgrade = function(callback) {
} else { } else {
winston.info('[2014/2/20] Activating NodeBB Essential Widgets - skipped'); winston.info('[2014/2/20] Activating NodeBB Essential Widgets - skipped');
if (err) {
next(err);
} else {
Upgrade.update(thisSchemaDate, next); Upgrade.update(thisSchemaDate, next);
} }
}
}, },
function(next) { function(next) {
thisSchemaDate = Date.UTC(2014, 1, 22); thisSchemaDate = Date.UTC(2014, 1, 22);

Loading…
Cancel
Save