|
|
@ -174,10 +174,7 @@ class RemoteStatusDelete implements ShouldQueue, ShouldBeUniqueUntilProcessing
|
|
|
|
->whereObjectId($status->id)
|
|
|
|
->whereObjectId($status->id)
|
|
|
|
->delete();
|
|
|
|
->delete();
|
|
|
|
StatusArchived::whereStatusId($status->id)->delete();
|
|
|
|
StatusArchived::whereStatusId($status->id)->delete();
|
|
|
|
$statusHashtags = StatusHashtag::whereStatusId($status->id)->get();
|
|
|
|
StatusHashtag::whereStatusId($status->id)->deleteQuietly();
|
|
|
|
foreach($statusHashtags as $stag) {
|
|
|
|
|
|
|
|
$stag->delete();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
StatusView::whereStatusId($status->id)->delete();
|
|
|
|
StatusView::whereStatusId($status->id)->delete();
|
|
|
|
Status::whereInReplyToId($status->id)->update(['in_reply_to_id' => null]);
|
|
|
|
Status::whereInReplyToId($status->id)->update(['in_reply_to_id' => null]);
|
|
|
|
|
|
|
|
|
|
|
|