mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 12:05:57 +01:00
closes #1917
This commit is contained in:
@@ -171,8 +171,11 @@ module.exports = function(Posts) {
|
||||
topics.updateTeaser(postData.tid, next);
|
||||
},
|
||||
function(next) {
|
||||
user.incrementUserPostCountBy(postData.uid, -1, next);
|
||||
db.sortedSetIncrBy('cid:' + topicData.cid + ':tids:posts', -1, postData.tid, next);
|
||||
},
|
||||
function(next) {
|
||||
user.incrementUserPostCountBy(postData.uid, -1, next);
|
||||
}
|
||||
], callback);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user