From 48ca7ac999fe59f23f04ba97114d3b8202cc7f57 Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Tue, 31 Mar 2015 10:48:51 +0200 Subject: [PATCH] Killed the magical numbers and unicorns. --- pandora_console/include/functions_treeview.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora_console/include/functions_treeview.php b/pandora_console/include/functions_treeview.php index a3f6d7ee33..f8dc28c8d9 100755 --- a/pandora_console/include/functions_treeview.php +++ b/pandora_console/include/functions_treeview.php @@ -452,14 +452,14 @@ function treeview_printTable($id_agente, $server_data = array()) { if ($config["agentaccess"]) { $access_graph = '
'; - $access_graph .= graphic_agentaccess($id_agente, 290, 110, 86400, true); + $access_graph .= graphic_agentaccess($id_agente, 290, 110, SECONDS_1DAY, true); $access_graph .= '

'; ui_toggle($access_graph, __('Agent access rate (24h)')); } $events_graph = '
'; - $events_graph .= graph_graphic_agentevents ($id_agente, 290, 15, 86400, '', true); + $events_graph .= graph_graphic_agentevents ($id_agente, 290, 15, SECONDS_1DAY, '', true); $events_graph .= '


'; ui_toggle($events_graph, __('Events (24h)'));