Update DeleteAccountPipeline, fix typo

This commit is contained in:
Daniel Supernault 2022-03-30 22:41:48 -06:00
parent 75837538af
commit 2533bd51a9
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -119,7 +119,7 @@ class DeleteAccountPipeline implements ShouldQueue
Bookmark::whereProfileId($id)->forceDelete();
EmailVerification::whereUserId($user->id)->forceDelete();
StatusHashtag::whereProfileId($id)->delete();
DirectMessage::whereFromId($id)->orWhereToId($id)->delete();
DirectMessage::whereFromId($id)->orWhere('to_id', $id)->delete();
StatusArchived::whereProfileId($id)->delete();
UserPronoun::whereProfileId($id)->delete();
FollowRequest::whereFollowingId($id)