mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 00:15:46 +01:00
deleting a user will delete topic tags too
This commit is contained in:
@@ -153,7 +153,6 @@ module.exports = function(User) {
|
||||
}
|
||||
|
||||
function deleteTopic(tid, callback) {
|
||||
|
||||
async.parallel([
|
||||
function(next) {
|
||||
db.delete('tid:' + tid + ':followers', next);
|
||||
@@ -175,6 +174,9 @@ module.exports = function(User) {
|
||||
},
|
||||
function(next) {
|
||||
deleteTopicFromCategory(tid, next);
|
||||
},
|
||||
function(next) {
|
||||
topics.deleteTopicTags(tid, next);
|
||||
}
|
||||
], function(err) {
|
||||
if (err) {
|
||||
|
||||
Reference in New Issue
Block a user