mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2025-03-29 22:37:46 +01:00
Update Kernel.php for commands
This commit is contained in:
parent
1f6e6f9c7e
commit
33753d8411
1 changed files with 2 additions and 3 deletions
|
@ -13,7 +13,8 @@ class Kernel extends ConsoleKernel
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
protected $commands = [
|
protected $commands = [
|
||||||
\App\Console\Commands\Inspire::class,
|
\App\Console\Commands\MigrateOldData::class,
|
||||||
|
\App\Console\Commands\RefreshCache::class,
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -24,7 +25,5 @@ class Kernel extends ConsoleKernel
|
||||||
*/
|
*/
|
||||||
protected function schedule(Schedule $schedule)
|
protected function schedule(Schedule $schedule)
|
||||||
{
|
{
|
||||||
$schedule->command('inspire')
|
|
||||||
->hourly();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue