We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0409dc commit a5cd519Copy full SHA for a5cd519
app/Services/MediaService.php
@@ -43,9 +43,6 @@ public function cleanDirectory(): void
43
{
44
$allFiles = Storage::disk($this->nameDisk)->allFiles();
45
46
- if (false !== $key = array_search('.gitignore', $allFiles))
47
- unset($allFiles[$key]);
48
-
49
foreach ($allFiles as $file)
50
Storage::disk($this->nameDisk)->delete($file);
51
}
public/avatar-de-users/.gitignore
0 commit comments