Node.js based forum software built for the modern web
added missing count increment
barisusaklia7415a8db0c7
diff --git a/src/upgrade.js b/src/upgrade.jsindex 77974839e6..36f5c14b39 100644--- a/src/upgrade.js+++ b/src/upgrade.js@@ -489,7 +489,7 @@ Upgrade.upgrade = function(callback) {var count = 0;batch.processSortedSet('topics:tid', function(tids, next) {winston.info('upgraded ' + count + ' topics');-+ count += tids.length;async.each(tids, function(tid, next) {db.delete('tid:' + tid + ':posters', function(err) {if (err) {