diff --git a/Model/HealthModel.php b/Model/HealthModel.php index 78583a5..1db5045 100644 --- a/Model/HealthModel.php +++ b/Model/HealthModel.php @@ -179,7 +179,10 @@ public function getIncidents() */ public function reportIncidents(OutputInterface $output = null) { - if ($this->integration && $this->incidents && !empty($this->settings['statuspage_component_id'])) { + if (!$this->integration) { + return; + } + if ($this->incidents && !empty($this->settings['statuspage_component_id'])) { $name = 'Degraded Performance'; $body = []; foreach ($this->incidents as $campaignId => $campaign) {