From 92d629b657e1f1810986ec32495131ab79059252 Mon Sep 17 00:00:00 2001 From: enriquecd Date: Wed, 2 Nov 2016 17:28:29 +0100 Subject: [PATCH] Remove "updated in real time" message because is confused, really it must refer if data source is db or cache #4093 --- pandora_console/extensions/agents_alerts.php | 3 ++- pandora_console/extensions/agents_modules.php | 3 ++- pandora_console/operation/agentes/group_view.php | 3 ++- pandora_console/operation/agentes/tactical.php | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/pandora_console/extensions/agents_alerts.php b/pandora_console/extensions/agents_alerts.php index 5e8b00ee42..de0cf38530 100755 --- a/pandora_console/extensions/agents_alerts.php +++ b/pandora_console/extensions/agents_alerts.php @@ -55,7 +55,8 @@ function mainAgentsAlerts() { $updated_info = __('Last update'). " : ". ui_print_timestamp (db_get_sql ("SELECT min(utimestamp) FROM tgroup_stat"), true); } else { - $updated_info = __("Updated at realtime"); + // $updated_info = __("Updated at realtime"); + $updated_info = ""; } $updated_time = $updated_info; diff --git a/pandora_console/extensions/agents_modules.php b/pandora_console/extensions/agents_modules.php index 5c16e6b039..9f7c32d037 100644 --- a/pandora_console/extensions/agents_modules.php +++ b/pandora_console/extensions/agents_modules.php @@ -56,7 +56,8 @@ function mainAgentsModules() { $updated_info = __('Last update'). " : ". ui_print_timestamp (db_get_sql ("SELECT min(utimestamp) FROM tgroup_stat"), true); } else { - $updated_info = __("Updated at realtime"); + // $updated_info = __("Updated at realtime"); + $updated_info = ""; } $updated_time = $updated_info; diff --git a/pandora_console/operation/agentes/group_view.php b/pandora_console/operation/agentes/group_view.php index a9680d523c..dccb7de1de 100644 --- a/pandora_console/operation/agentes/group_view.php +++ b/pandora_console/operation/agentes/group_view.php @@ -62,7 +62,8 @@ if ($config["realtimestats"] == 0) { $updated_time .= ""; } else { - $updated_time = __("Updated at realtime"); + // $updated_info = __("Updated at realtime"); + $updated_info = ""; } // Header diff --git a/pandora_console/operation/agentes/tactical.php b/pandora_console/operation/agentes/tactical.php index 30aaf2464c..6826ddd2f9 100755 --- a/pandora_console/operation/agentes/tactical.php +++ b/pandora_console/operation/agentes/tactical.php @@ -47,7 +47,8 @@ if ($config["realtimestats"] == 0) { $updated_time .= ""; } else { - $updated_time = __("Updated at realtime"); +// $updated_info = __("Updated at realtime"); + $updated_info = ""; } // Header