mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 08:25:46 +01:00
delete user ignored cids on account delete
This commit is contained in:
@@ -104,6 +104,9 @@ module.exports = function(User) {
|
|||||||
function(next) {
|
function(next) {
|
||||||
db.delete('uid:' + uid + ':downvote', next);
|
db.delete('uid:' + uid + ':downvote', next);
|
||||||
},
|
},
|
||||||
|
function(next) {
|
||||||
|
db.delete('uid:' + uid + ':ignored:cids', next);
|
||||||
|
},
|
||||||
function(next) {
|
function(next) {
|
||||||
deleteUserFromFollowers(uid, next);
|
deleteUserFromFollowers(uid, next);
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user