upgrade script was refusing to complete until I added this

@barisusakli fyi
This commit is contained in:
psychobunny
2014-12-22 12:47:55 -05:00
parent 9865f78cbb
commit a5f63a5ac7

View File

@@ -436,7 +436,7 @@ Upgrade.upgrade = function(callback) {
if (setting.dailyDigestFreq !== 'off') {
db.sortedSetAdd('digest:' + setting.dailyDigestFreq + ':uids', now, setting.uid, next);
} else {
next();
next(false);
}
}, function(err) {
if (err) {