mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
cs fix
This commit is contained in:
parent
c8014674c3
commit
f6d1b0a24b
1 changed files with 2 additions and 2 deletions
|
@ -38,8 +38,8 @@ class MediaDeletePipeline implements ShouldQueue
|
|||
|
||||
if(config_cache('pixelfed.cloud_storage') == true) {
|
||||
$disk = Storage::disk(config('filesystems.cloud'));
|
||||
$disk->delete($path);
|
||||
$disk->delete($thumb);
|
||||
$disk->delete($path);
|
||||
$disk->delete($thumb);
|
||||
|
||||
if(count($e) > 4 && count($disk->files($i)) == 0) {
|
||||
$disk->deleteDirectory($i);
|
||||
|
|
Loading…
Reference in a new issue