mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Remove call to Config from artisan (#14362)
Defers the loading of Config a bit
This commit is contained in:
@@ -51,9 +51,9 @@ class Kernel extends ConsoleKernel
|
||||
if (is_null($this->artisan)) {
|
||||
parent::getArtisan();
|
||||
/** @phpstan-ignore-next-line */
|
||||
$this->artisan->setName(\LibreNMS\Config::get('project_name', 'LibreNMS'));
|
||||
$this->artisan->setName('LibreNMS');
|
||||
/** @phpstan-ignore-next-line */
|
||||
$this->artisan->setVersion(Version::get()->local());
|
||||
$this->artisan->setVersion(Version::VERSION);
|
||||
}
|
||||
|
||||
return $this->artisan;
|
||||
|
Reference in New Issue
Block a user