remove mount default timezone
This commit is contained in:
parent
6242243ced
commit
00f20c708f
1 changed files with 5 additions and 5 deletions
|
|
@ -80,10 +80,10 @@ public function mount(Server $server)
|
||||||
$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 @@ public function updatedServerTimezone($value)
|
||||||
$this->updateServerTimezone($value);
|
$this->updateServerTimezone($value);
|
||||||
}
|
}
|
||||||
|
|
||||||
private function updateServerTimezone($desired_timezone)
|
public function updateServerTimezone($desired_timezone)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
$commands = [
|
$commands = [
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue