Update command name and update code to remove unused command

This commit is contained in:
Afiq Hamzah
2024-08-08 12:50:51 +08:00
parent c7aab85e24
commit 67943c81ff
+1 -2
View File
@@ -11,7 +11,7 @@ class ClearAllCaches extends Command
* *
* @var string * @var string
*/ */
protected $signature = 'clear-caches'; protected $signature = 'clear-caches-all';
/** /**
* The console command description. * The console command description.
@@ -34,7 +34,6 @@ class ClearAllCaches extends Command
$this->call('optimize:clear'); $this->call('optimize:clear');
$this->call('package:discover'); $this->call('package:discover');
$this->call('queue:clear'); $this->call('queue:clear');
$this->call('schema:clear');
$this->info("All caches have been cleared.");; $this->info("All caches have been cleared.");;