]> BookStack Code Mirror - bookstack/blobdiff - app/Console/Kernel.php
Fixed tests from streaming changes
[bookstack] / app / Console / Kernel.php
index f3b9795e82211609f79e112e502aa2f0261d5b25..11c8018c8d6fca1cec1191c011938d20c2478fe1 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-namespace Oxbow\Console;
+namespace BookStack\Console;
 
 use Illuminate\Console\Scheduling\Schedule;
 use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
@@ -13,18 +13,28 @@ class Kernel extends ConsoleKernel
      * @var array
      */
     protected $commands = [
-        \Oxbow\Console\Commands\Inspire::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)
     {
-        $schedule->command('inspire')
-                 ->hourly();
+        //
+    }
+
+    /**
+     * Register the commands for the application.
+     *
+     * @return void
+     */
+    protected function commands()
+    {
+        $this->load(__DIR__ . '/Commands');
     }
 }