mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-06 01:18:35 +02:00
added missing count increment
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user