From a829db9890cda57c0647d5121efe68eeaf0a7cdb Mon Sep 17 00:00:00 2001 From: David Bomba Date: Mon, 2 Nov 2020 09:51:56 +1100 Subject: [PATCH] Fixes for setup --- app/Http/Controllers/SetupController.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/Http/Controllers/SetupController.php b/app/Http/Controllers/SetupController.php index 66f3d58d60cd..fde107445206 100644 --- a/app/Http/Controllers/SetupController.php +++ b/app/Http/Controllers/SetupController.php @@ -20,6 +20,7 @@ use App\Jobs\Util\VersionCheck; use App\Models\Account; use App\Utils\CurlUtils; use App\Utils\SystemHealth; +use App\Utils\Traits\AppSetup; use DB; use Exception; use Illuminate\Contracts\Foundation\Application; @@ -37,6 +38,8 @@ use Spatie\Browsershot\Browsershot; */ class SetupController extends Controller { + use AppSetup; + public function index() { $check = SystemHealth::check(false); @@ -127,6 +130,8 @@ class SetupController extends Controller } VersionCheck::dispatchNow(); + + $this->buildCache(); return redirect('/'); } catch (Exception $e) {