1
0
Fork 0
forked from mirror/pixelfed

Merge pull request #3343 from pixelfed/staging

Update DeleteAccountPipeline, fix typo
This commit is contained in:
daniel 2022-03-30 22:42:10 -06:00 committed by GitHub
commit a6e4e74b36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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