From 48b4c1739132c5a19b5af32e2343fe4b17f81b16 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Thu, 8 Feb 2024 12:36:33 +0100 Subject: [PATCH] Refactor init command to use full-cleanup option --- app/Console/Commands/Init.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Console/Commands/Init.php b/app/Console/Commands/Init.php index 03236dd99..0389ad070 100644 --- a/app/Console/Commands/Init.php +++ b/app/Console/Commands/Init.php @@ -20,9 +20,9 @@ class Init extends Command public function handle() { $this->alive(); - $init = $this->option('init'); - if ($init) { - echo "Running init cleanups.\n"; + $full_cleanup = $this->option('full-cleanup'); + if ($full_cleanup) { + echo "Running init cleanupsg.\n"; // Required for falsely deleted coolify db $this->restore_coolify_db_backup();