From 44bb16d249077c457d7d7a660afee09ec994ef23 Mon Sep 17 00:00:00 2001 From: Ramon Novoa Date: Mon, 7 Jun 2010 11:46:19 +0000 Subject: [PATCH] 2010-06-07 Ramon Novoa * include/functions_reporting.php: Disabled DB cache for get_agent_module_info () to avoid memory errors in big environments. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2867 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 6 ++++++ pandora_console/include/functions_reporting.php | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index ff1158d131..c9e5432523 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2010-06-07 Ramon Novoa + + * include/functions_reporting.php: Disabled DB cache for + get_agent_module_info () to avoid memory errors in big + environments. + 2010-06-07 Miguel de Dios * godmode/alerts/alert_list.list.php: fixed the style of action list in the diff --git a/pandora_console/include/functions_reporting.php b/pandora_console/include/functions_reporting.php index 1bbc71848c..b04277141d 100644 --- a/pandora_console/include/functions_reporting.php +++ b/pandora_console/include/functions_reporting.php @@ -1403,7 +1403,7 @@ function get_agent_module_info ($id_agent) { AND tagente_estado.utimestamp > 0 AND tagente_modulo.id_agente = %d", $id_agent); - $modules = get_db_all_rows_sql ($sql); + $modules = get_db_all_rows_sql ($sql, false, false); if ($modules === false) { return $return;