]> BookStack Code Mirror - bookstack/blobdiff - app/Console/Kernel.php
Changed the location of the "view-toggle" to be under the books views.
[bookstack] / app / Console / Kernel.php
index af9f5fd4617e6a765251a066aeb4552721863ed9..e75d93801632b972df5787dafe8094cea2fbc943 100644 (file)
@@ -11,12 +11,7 @@ class Kernel extends ConsoleKernel
      * @var array
      */
     protected $commands = [
-        Commands\ClearViews::class,
-        Commands\ClearActivity::class,
-        Commands\ClearRevisions::class,
-        Commands\RegeneratePermissions::class,
-        Commands\RegenerateSearch::class,
-        Commands\UpgradeDatabaseEncoding::class
+        //
     ];
 
     /**
@@ -29,4 +24,14 @@ class Kernel extends ConsoleKernel
     {
         //
     }
+
+    /**
+     * Register the commands for the application.
+     *
+     * @return void
+     */
+    protected function commands()
+    {
+        $this->load(__DIR__.'/Commands');
+    }
 }