remove mount default timezone

This commit is contained in:
ayntk-ai
2024-08-16 17:09:30 +02:00
parent 6242243ced
commit 00f20c708f

View File

@@ -80,10 +80,10 @@ class Form extends Component
$this->wildcard_domain = $this->server->settings->wildcard_domain; $this->wildcard_domain = $this->server->settings->wildcard_domain;
$this->cleanup_after_percentage = $this->server->settings->cleanup_after_percentage; $this->cleanup_after_percentage = $this->server->settings->cleanup_after_percentage;
if ($this->server->settings->server_timezone === '') { // if ($this->server->settings->server_timezone === '') {
$defaultTimezone = config('app.timezone'); // $defaultTimezone = config('app.timezone');
$this->updateServerTimezone($defaultTimezone); // $this->updateServerTimezone($defaultTimezone);
} // }
} }
public function serverInstalled() public function serverInstalled()
@@ -235,7 +235,7 @@ class Form extends Component
$this->updateServerTimezone($value); $this->updateServerTimezone($value);
} }
private function updateServerTimezone($desired_timezone) public function updateServerTimezone($desired_timezone)
{ {
try { try {
$commands = [ $commands = [