Revert "Alert Detail Ping Latency (#11140)" (#11149)

This reverts commit 082a1ee079.
This commit is contained in:
PipoCanaja
2020-02-14 11:46:56 +01:00
committed by GitHub
parent f023be1edf
commit fc280ffb08

View File

@@ -981,17 +981,6 @@ function alert_details($details)
$fallback = false;
}
if ($tmp_alerts['last_ping_timetaken']) {
$fault_detail .= "Latency: <a href='" . generate_url(array('page' => 'graphs',
'from' => '-24hour',
'to' => 'now',
'type' => 'device_ping_perf',
'device' => $tmp_alerts['device_id'])) . "'>";
$fault_detail .= $tmp_alerts['last_ping_timetaken']. 'ms';
$fault_detail .= "</a>";
$fallback = false;
}
if ($tmp_alerts['type'] && $tmp_alerts['label']) {
if ($tmp_alerts['error'] == "") {
$fault_detail .= ' ' . $tmp_alerts['type'] . ' - ' . $tmp_alerts['label'] . ';&nbsp;';