From b0f5724248af3f7c0433ab5fc5fa025cf1836d16 Mon Sep 17 00:00:00 2001 From: Alejandro Gallardo Escobar Date: Fri, 24 Apr 2015 18:10:50 +0200 Subject: [PATCH] Removed the information about the defined alerts for the metaconsole --- pandora_console/include/functions_reporting.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pandora_console/include/functions_reporting.php b/pandora_console/include/functions_reporting.php index c16b7ee830..9a1d52597f 100644 --- a/pandora_console/include/functions_reporting.php +++ b/pandora_console/include/functions_reporting.php @@ -1847,18 +1847,22 @@ function reporting_get_stats_alerts($data, $links = false) { $table_al->rowclass[] = ''; $table_al->data[] = $tdata; - if(!defined('METACONSOLE')){ + if (!defined('METACONSOLE')) { $output = '
' . __('Defined and fired alerts') . '' . html_print_table($table_al, true) . '
'; - }else{ + } + else { + // Remove the defined alerts cause with the new cache table is difficult to retrieve them + unset($table_al->data[0][0], $table_al->data[0][1]); + $table_al->class = "tactical_view"; $table_al->style = array(); $output = '
' . - __('Defined and fired alerts') . + __('Fired alerts') . '' . html_print_table($table_al, true) . '
'; }