mirror of https://github.com/pixelfed/pixelfed.git
cs fix
This commit is contained in:
parent
c8014674c3
commit
f6d1b0a24b
|
@ -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 New Issue