Merge pull request #1161 from code-press/master

Upgrade script incorrectly looking for "err"
This commit is contained in:
Barış Soner Uşaklı
2014-03-06 01:24:32 -05:00

View File

@@ -203,11 +203,7 @@ Upgrade.upgrade = function(callback) {
} else {
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) {