-<?php
-
-namespace BookStack\Console;
+<?php namespace BookStack\Console;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
* @var array
*/
protected $commands = [
- \BookStack\Console\Commands\Inspire::class,
- \BookStack\Console\Commands\ResetViews::class,
+ //
];
/**
*/
protected function schedule(Schedule $schedule)
{
- $schedule->command('inspire')
- ->hourly();
+ //
+ }
+
+ /**
+ * Register the commands for the application.
+ *
+ * @return void
+ */
+ protected function commands()
+ {
+ $this->load(__DIR__.'/Commands');
}
}