mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 00:03:16 +00:00
Update StatusDelete pipeline, fix object storage thumbnail deletion
This commit is contained in:
parent
98c44f7bdb
commit
f930c4bda2
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ class StatusDelete implements ShouldQueue
|
||||||
->exists($media->thumbnail_path)
|
->exists($media->thumbnail_path)
|
||||||
) {
|
) {
|
||||||
Storage::disk(config('filesystems.cloud'))
|
Storage::disk(config('filesystems.cloud'))
|
||||||
->delete($media->media_path);
|
->delete($media->thumbnail_path);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$media->delete();
|
$media->delete();
|
||||||
|
|
Loading…
Reference in a new issue