2015-07-12 21:01:42 +02:00
|
|
|
<?php
|
|
|
|
|
2015-09-10 20:31:09 +02:00
|
|
|
namespace BookStack\Console;
|
2015-07-12 21:01:42 +02:00
|
|
|
|
|
|
|
use Illuminate\Console\Scheduling\Schedule;
|
|
|
|
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
|
|
|
|
|
|
|
|
class Kernel extends ConsoleKernel
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* The Artisan commands provided by your application.
|
|
|
|
*
|
|
|
|
* @var array
|
|
|
|
*/
|
|
|
|
protected $commands = [
|
2017-02-26 10:14:18 +01:00
|
|
|
\BookStack\Console\Commands\ClearViews::class,
|
|
|
|
\BookStack\Console\Commands\ClearActivity::class,
|
|
|
|
\BookStack\Console\Commands\ClearRevisions::class,
|
2016-04-23 19:14:26 +02:00
|
|
|
\BookStack\Console\Commands\RegeneratePermissions::class,
|
2015-07-12 21:01:42 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Define the application's command schedule.
|
|
|
|
*
|
|
|
|
* @param \Illuminate\Console\Scheduling\Schedule $schedule
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
protected function schedule(Schedule $schedule)
|
|
|
|
{
|
2017-02-26 10:14:18 +01:00
|
|
|
//
|
2015-07-12 21:01:42 +02:00
|
|
|
}
|
|
|
|
}
|