mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-22 13:03:16 +00:00
Update RemoteStatusDelete pipeline
This commit is contained in:
parent
4f19a58b2c
commit
fab8f25e9b
1 changed files with 1 additions and 2 deletions
|
@ -75,7 +75,6 @@ class RemoteStatusDelete implements ShouldQueue
|
|||
$status = $this->status;
|
||||
|
||||
if($status->deleted_at) {
|
||||
$status->forceDelete();
|
||||
return;
|
||||
}
|
||||
$profile = $this->status->profile;
|
||||
|
@ -131,7 +130,7 @@ class RemoteStatusDelete implements ShouldQueue
|
|||
StatusView::whereStatusId($status->id)->delete();
|
||||
Status::whereInReplyToId($status->id)->update(['in_reply_to_id' => null]);
|
||||
|
||||
$status->forceDelete();
|
||||
$status->delete();
|
||||
|
||||
StatusService::del($status->id, true);
|
||||
AccountService::del($status->profile_id);
|
||||
|
|
Loading…
Reference in a new issue