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