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