mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-22 21:13:16 +00:00
Update DeleteAccountPipeline
This commit is contained in:
parent
ec4128254f
commit
2b1ce0d33f
1 changed files with 2 additions and 2 deletions
|
@ -83,8 +83,6 @@ class DeleteAccountPipeline implements ShouldQueue
|
|||
StatusDelete::dispatchNow($status);
|
||||
}
|
||||
});
|
||||
$this->deleteUserColumns($user);
|
||||
AccountService::del($user->profile_id);
|
||||
|
||||
AccountLog::whereItemType('App\User')->whereItemId($user->id)->forceDelete();
|
||||
|
||||
|
@ -176,6 +174,8 @@ class DeleteAccountPipeline implements ShouldQueue
|
|||
|
||||
Report::whereUserId($user->id)->forceDelete();
|
||||
PublicTimelineService::warmCache(true, 400);
|
||||
$this->deleteUserColumns($user);
|
||||
AccountService::del($user->profile_id);
|
||||
Profile::whereUserId($user->id)->delete();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue