From 148ad3bc414aae3a4144600a5fdfc87cadf682d2 Mon Sep 17 00:00:00 2001 From: cuneytsenturk Date: Thu, 15 Nov 2018 11:04:30 +0300 Subject: [PATCH] Module install command cache clear. --- app/Console/Commands/ModuleInstall.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/Console/Commands/ModuleInstall.php b/app/Console/Commands/ModuleInstall.php index fa428a78c..6ae58108b 100644 --- a/app/Console/Commands/ModuleInstall.php +++ b/app/Console/Commands/ModuleInstall.php @@ -54,6 +54,9 @@ class ModuleInstall extends Command ModuleHistory::create($data); + // Clear cache + $this->call('cache:clear'); + // Update database $this->call('migrate', ['--force' => true]);