mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
webui: make d_echo work in webui (#4432)
* webui: make d_echo work in webui Remove d_print_r(), it is redundant to d_echo() Remove d_echo calls in services.inc.php * Switched debug check to work with nginx
This commit is contained in:
committed by
Neil Lathwood
parent
ce95ceaa2b
commit
0351b54fb8
@@ -18,7 +18,6 @@ function get_service_status($device = null)
|
||||
$sql_query = substr($sql_query, 0, strlen($sql_query)-6);
|
||||
}
|
||||
$sql_query .= " GROUP BY service_status";
|
||||
d_echo("SQL Query: ".$sql_query);
|
||||
|
||||
// $service is not null, get only what we want.
|
||||
$result = dbFetchRows($sql_query, $sql_param);
|
||||
@@ -30,7 +29,6 @@ function get_service_status($device = null)
|
||||
$service_count[$v['service_status']] = $v['count'];
|
||||
}
|
||||
|
||||
d_echo("Service Count by Status: ".print_r($service_count, true)."\n");
|
||||
return $service_count;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user