From 053ef37f6daa4e58236329dd701458f5220a2a1a Mon Sep 17 00:00:00 2001 From: zarzuelo Date: Wed, 22 Sep 2010 08:21:08 +0000 Subject: [PATCH] 2010-09-22 Sergio Martin * include/functions_modules.php: Fixed bad call to enterprise function git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3271 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/include/functions_modules.php | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 36627ceb47..00a83ac0bc 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2010-09-22 Sergio Martin + + * include/functions_modules.php: Fixed bad call to + enterprise function + 2010-09-21 Miguel de Dios * include/functions_html.php: in function "print_select_groups" and function diff --git a/pandora_console/include/functions_modules.php b/pandora_console/include/functions_modules.php index 6917d200ed..df93415c7b 100644 --- a/pandora_console/include/functions_modules.php +++ b/pandora_console/include/functions_modules.php @@ -118,7 +118,7 @@ function copy_agent_module_to_agent ($id_agent_module, $id_destiny_agent) { function delete_agent_module ($id_agent_module) { $where = array ('id_agent_module' => $id_agent_module); - deleteLocalModuleInConf(get_agentmodule_agent($id_agent_module), get_agentmodule_name($id_agent_module)); + enterprise_hook('deleteLocalModuleInConf', array(get_agentmodule_agent($id_agent_module), get_agentmodule_name($id_agent_module))); process_sql_delete ('talert_template_modules', $where); process_sql_delete ('tgraph_source', $where);