From 6a3b447395f24a65409e4367b8684c293a45f518 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 1 Dec 2022 12:50:03 +1100 Subject: [PATCH] Fixes for single account creation --- app/Console/Commands/CreateSingleAccount.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/Console/Commands/CreateSingleAccount.php b/app/Console/Commands/CreateSingleAccount.php index 6432b11f90e7..147ae4ad516a 100644 --- a/app/Console/Commands/CreateSingleAccount.php +++ b/app/Console/Commands/CreateSingleAccount.php @@ -611,7 +611,6 @@ class CreateSingleAccount extends Command $cached_tables = config('ninja.cached_tables'); foreach ($cached_tables as $name => $class) { - if (! Cache::has($name)) { // check that the table exists in case the migration is pending if (! Schema::hasTable((new $class())->getTable())) { continue; @@ -629,7 +628,6 @@ class CreateSingleAccount extends Command if ($tableData->count()) { Cache::forever($name, $tableData); } - } } }