This commit is contained in:
Andras Bacsai 2023-05-25 21:59:29 +02:00
parent 570fb8f4c3
commit a672d4dbdd

View File

@ -29,6 +29,8 @@ class InstanceAutoUpdateJob implements ShouldQueue
$instance_settings = InstanceSettings::get();
$this->server = Server::where('name', $this->server_name)->firstOrFail();
Log::info($this->server);
Log::info('Force: ' . $this->force);
if (!$instance_settings->is_auto_update_enabled || !$this->server) {
return $this->delete();