mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-06-21 04:07:44 +02:00
Clean forgotten code in previous commit #ecd92c1
This commit is contained in:
parent
ecd92c0b0b
commit
297948e0f2
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user