From e3e938c8eb4d64314190675653fc14bdb7366a82 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Thu, 30 May 2024 20:32:07 +0200 Subject: [PATCH] refactor: Remove unnecessary logging statements from UpdateCoolify --- app/Actions/Server/UpdateCoolify.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/Actions/Server/UpdateCoolify.php b/app/Actions/Server/UpdateCoolify.php index 512c1b380..c992ed786 100644 --- a/app/Actions/Server/UpdateCoolify.php +++ b/app/Actions/Server/UpdateCoolify.php @@ -5,7 +5,6 @@ namespace App\Actions\Server; use Lorisleiva\Actions\Concerns\AsAction; use App\Models\InstanceSettings; use App\Models\Server; -use Illuminate\Support\Facades\Log; class UpdateCoolify { @@ -28,19 +27,15 @@ class UpdateCoolify $this->currentVersion = config('version'); if (!$manual_update) { if (!$settings->is_auto_update_enabled) { - Log::debug('Auto update is disabled'); return; } if ($this->latestVersion === $this->currentVersion) { - Log::debug('Already on latest version'); return; } if (version_compare($this->latestVersion, $this->currentVersion, '<')) { - Log::debug('Latest version is lower than current version?!'); return; } } - Log::info("Updating from {$this->currentVersion} -> {$this->latestVersion}"); $this->update(); } catch (\Throwable $e) { ray('InstanceAutoUpdateJob failed');