From 00f20c708f5598a87849375aaa6a38dfb24b3417 Mon Sep 17 00:00:00 2001 From: ayntk-ai <122374094+ayntk-ai@users.noreply.github.com> Date: Fri, 16 Aug 2024 17:09:30 +0200 Subject: [PATCH] remove mount default timezone --- app/Livewire/Server/Form.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/Livewire/Server/Form.php b/app/Livewire/Server/Form.php index fbd354e05..55b81fdde 100644 --- a/app/Livewire/Server/Form.php +++ b/app/Livewire/Server/Form.php @@ -80,10 +80,10 @@ class Form extends Component $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); - } + // if ($this->server->settings->server_timezone === '') { + // $defaultTimezone = config('app.timezone'); + // $this->updateServerTimezone($defaultTimezone); + // } } public function serverInstalled() @@ -235,7 +235,7 @@ class Form extends Component $this->updateServerTimezone($value); } - private function updateServerTimezone($desired_timezone) + public function updateServerTimezone($desired_timezone) { try { $commands = [