From 4af7b8f451a7c633ea625f26d83ab6c0e948bef5 Mon Sep 17 00:00:00 2001 From: ayntk-ai <122374094+ayntk-ai@users.noreply.github.com> Date: Fri, 16 Aug 2024 18:02:14 +0200 Subject: [PATCH] made function private again and remove unused code --- app/Livewire/Server/Form.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app/Livewire/Server/Form.php b/app/Livewire/Server/Form.php index 55b81fdde..08054bd78 100644 --- a/app/Livewire/Server/Form.php +++ b/app/Livewire/Server/Form.php @@ -79,11 +79,6 @@ public function mount(Server $server) $this->timezones = collect(timezone_identifiers_list())->sort()->values()->toArray(); $this->wildcard_domain = $this->server->settings->wildcard_domain; $this->cleanup_after_percentage = $this->server->settings->cleanup_after_percentage; - - // if ($this->server->settings->server_timezone === '') { - // $defaultTimezone = config('app.timezone'); - // $this->updateServerTimezone($defaultTimezone); - // } } public function serverInstalled() @@ -235,7 +230,7 @@ public function updatedServerTimezone($value) $this->updateServerTimezone($value); } - public function updateServerTimezone($desired_timezone) + private function updateServerTimezone($desired_timezone) { try { $commands = [