mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 23:15:48 +01:00
closes #772
This commit is contained in:
@@ -188,11 +188,7 @@ var winston = require('winston'),
|
||||
}
|
||||
});
|
||||
|
||||
categories.moveActiveUsers(tid, oldCid, cid, function(err, data) {
|
||||
if (err) {
|
||||
winston.err(err);
|
||||
}
|
||||
});
|
||||
categories.moveActiveUsers(tid, oldCid, cid);
|
||||
|
||||
categories.incrementCategoryFieldBy(oldCid, 'topic_count', -1);
|
||||
categories.incrementCategoryFieldBy(cid, 'topic_count', 1);
|
||||
|
||||
Reference in New Issue
Block a user