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 @@ public function mount(Server $server) $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 @@ public function updatedServerTimezone($value) $this->updateServerTimezone($value); } - private function updateServerTimezone($desired_timezone) + public function updateServerTimezone($desired_timezone) { try { $commands = [