capabilities->has(Capability::SystemUpdates)) { $this->info('Update checks do not apply to this installation.'); return self::SUCCESS; } if ($this->settings->get(Setting::CheckForUpdates) !== true) { $this->info('Update checks are disabled.'); return self::SUCCESS; } $result = $this->check->run(); if (! $result['ok']) { $this->warn($result['message']); return self::FAILURE; } $this->info($result['message']); return self::SUCCESS; } }