kopia lustrzana https://github.com/pixelfed/pixelfed
Update StatusDeletePipeline
rodzic
f2be7ea551
commit
f47161fcd9
|
@ -11,7 +11,6 @@ use App\{
|
||||||
Status,
|
Status,
|
||||||
StatusHashtag,
|
StatusHashtag,
|
||||||
};
|
};
|
||||||
use App\Models\StatusVideo;
|
|
||||||
use Illuminate\Bus\Queueable;
|
use Illuminate\Bus\Queueable;
|
||||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||||
use Illuminate\Foundation\Bus\Dispatchable;
|
use Illuminate\Foundation\Bus\Dispatchable;
|
||||||
|
@ -119,7 +118,6 @@ class StatusDelete implements ShouldQueue
|
||||||
->forceDelete();
|
->forceDelete();
|
||||||
$tag->delete();
|
$tag->delete();
|
||||||
});
|
});
|
||||||
StatusVideo::whereStatusId($status->id)->delete();
|
|
||||||
AccountInterstitial::where('item_type', 'App\Status')
|
AccountInterstitial::where('item_type', 'App\Status')
|
||||||
->where('item_id', $status->id)
|
->where('item_id', $status->id)
|
||||||
->delete();
|
->delete();
|
||||||
|
|
Ładowanie…
Reference in New Issue