Fix Server Downtime is displayed incorrectly

Server Downtime is displayed in correctly when receiveing e-mails about it.
This commit is contained in:
Jeremy GHYS 2019-12-12 17:26:42 +01:00 committed by GitHub
parent 7fbab86064
commit b7426291f8
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;