Fix Server Downtime is displayed incorrectly (#825)

Server Downtime is displayed in correctly when receiving e-mails about it.
Closing #810.
This commit is contained in:
Tim 2019-12-12 19:58:17 +01:00 committed by GitHub
commit ed4b3e2fc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -144,7 +144,6 @@ class StatusUpdater
} else {
// server is offline, increase the error counter and set last offline
$save['warning_threshold_counter'] = $this->server['warning_threshold_counter'] + 1;
$save['last_offline'] = date('Y-m-d H:i:s');
$save['last_error_output'] = empty($this->header) ?
"Could not get headers. probably HTTP 50x error." : $this->header;