diff --git a/templates/monitor.xml.php b/templates/monitor.xml.php index 51063740..849ff5d9 100644 --- a/templates/monitor.xml.php +++ b/templates/monitor.xml.php @@ -9,22 +9,11 @@ $authsources = $this->data['authsources']; $metadata = $this->data['metadata']; $healthInfo = $this->data['healthInfo']; -$protocol = $this->data['protocol']; -$responseCode = $this->data['responseCode']; list($healthState, $healthColor) = $healthInfo[$state]; $overall = $healthState; -$GLOBALS['http_response_code'] = $responseCode; -if ($responseCode === 200) { - header($protocol . ' 200 OK'); -} else if ($responseCode === 417) { - header($protocol . ' 417 Expectation failed'); -} else { - header($protocol . ' 500 Internal Server Error'); -} - $output = ''; $output .= ''; $output .= '' . $overall . '';