From b5a4656a2519abf4950948f608b4563ce4b01afe Mon Sep 17 00:00:00 2001 From: Laravel Shift Date: Wed, 19 Oct 2016 07:53:10 +0000 Subject: [PATCH] Shift core files --- app/Console/Kernel.php | 9 +++++++++ app/Models/User.php | 1 + 2 files changed, 10 insertions(+) diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 059aa0cc..43149b86 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -48,4 +48,13 @@ class Kernel extends ConsoleKernel { $schedule->command('cachet:beacon')->twiceDaily(0, 12); } + /** + * Register the Closure based commands for the application. + * + * @return void + */ + protected function commands() + { + require base_path('routes/console.php'); + } } diff --git a/app/Models/User.php b/app/Models/User.php index c8573d5b..f75acf0a 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -27,6 +27,7 @@ use Illuminate\Support\Facades\Hash; */ class User extends Model implements AuthenticatableContract, CanResetPasswordContract { +use Notifiable; use Authenticatable, CanResetPassword, ValidatingTrait; /**