From 65844e030dd519d558c72e267cc13b5b68da85f6 Mon Sep 17 00:00:00 2001 From: lexx Date: Thu, 7 May 2026 23:06:51 +0300 Subject: [PATCH] remove setup --- src/Http/Controller/SetupController.php | 71 ------------------------- 1 file changed, 71 deletions(-) delete mode 100644 src/Http/Controller/SetupController.php diff --git a/src/Http/Controller/SetupController.php b/src/Http/Controller/SetupController.php deleted file mode 100644 index 5dc75cc..0000000 --- a/src/Http/Controller/SetupController.php +++ /dev/null @@ -1,71 +0,0 @@ - array_merge($carry, [ - $setupStep(), - ]), - [], - ); - $allSuccess = array_reduce( - $steps, - fn(bool $carry, SetupStep $step) => !$carry - ? false - : $step->status === SetupStepStatus::SUCCESS, - true, - ); - - if ($allSuccess) { - if ($this->accountService->countUsers() > 0) { - return redirect( - $this->channelService->channel->lucentUrl . "/login", - ); - } - } - - return $this->svelte->render( - layout: "account", - view: "setup", - title: "Setup Lucent", - data: [ - "steps" => $steps, - "allSuccess" => $allSuccess, - ], - ); - } -}