mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
Update DeleteAccountPipeline to delete StatusHashtags
This commit is contained in:
parent
8ac2c9167c
commit
76c480bf85
1 changed files with 3 additions and 1 deletions
|
@ -80,8 +80,10 @@ class DeleteAccountPipeline implements ShouldQueue
|
|||
Bookmark::whereProfileId($user->profile->id)->forceDelete();
|
||||
|
||||
EmailVerification::whereUserId($user->id)->forceDelete();
|
||||
|
||||
$id = $user->profile->id;
|
||||
|
||||
StatusHashtag::whereProfileId($id)->delete();
|
||||
|
||||
FollowRequest::whereFollowingId($id)->orWhere('follower_id', $id)->forceDelete();
|
||||
|
||||
Follower::whereProfileId($id)->orWhere('following_id', $id)->forceDelete();
|
||||
|
|
Loading…
Reference in a new issue