Clean forgotten code in previous commit #ecd92c1

This commit is contained in:
Bubka 2020-03-21 12:57:17 +01:00
parent ecd92c0b0b
commit 297948e0f2

View File

@ -57,9 +57,6 @@ class ResetDemo extends Command
if ($demo === 'demo') { if ($demo === 'demo') {
// Delete all icons // Delete all icons
$icons = Storage::allFiles('public/icons');
Storage::delete($icons);
$filesForDelete = array_filter(glob('public/icons/*'), function($file) { $filesForDelete = array_filter(glob('public/icons/*'), function($file) {
return false === strpos($file, '.gitignore'); return false === strpos($file, '.gitignore');
}); });
@ -93,7 +90,6 @@ class ResetDemo extends Command
]); ]);
$this->line('Database cleaned and seeded'); $this->line('Database cleaned and seeded');
$this->info('Demo app refreshed'); $this->info('Demo app refreshed');
} }
else { else {