Update Kernel.php for commands

This commit is contained in:
Kelvin Zhang 2015-09-08 11:57:28 +01:00
parent 1f6e6f9c7e
commit 33753d8411

View file

@ -13,7 +13,8 @@ class Kernel extends ConsoleKernel
* @var array
*/
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)
{
$schedule->command('inspire')
->hourly();
}
}