Skip to content

Commit

Permalink
Change back to the old way
Browse files Browse the repository at this point in the history
  • Loading branch information
rdgout committed May 4, 2020
1 parent 540a386 commit 4299b2e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,16 @@ public function register(): void
*/
public function boot(): void
{
$this->loadConfigs();
$this->loadTranslations();
$this->registerListeners();

if ($this->app->runningInConsole()) {
$this->registerCommands();
$this->loadCommandSchedule();
$this->loadMigrations();
$this->registerFactories();
return;
}

$this->loadConfigs();
$this->loadTranslations();
$this->registerListeners();
$this->loadViews();
$this->registerPolicies();
$this->registerMiddleware();
Expand Down

0 comments on commit 4299b2e

Please sign in to comment.