This commit is contained in:
psychobunny
2014-07-08 13:26:18 -04:00
parent 615b81a447
commit 46d3e4a6eb

View File

@@ -49,15 +49,6 @@ module.exports = function(Posts) {
},
function(next) {
db.sortedSetRemove('uid:' + postData.uid + ':posts', pid, next);
},
function(next) {
db.setCount('tid:' + postData.tid + ':posts', function(err, count) {
if (count === 0) {
topics.purge(postData.tid, next);
} else {
next();
}
});
}
], function(err) {
if (err) {