2010-09-13 Sergio Martin <sergio.martin@artica.es>

* include/functions_modules.php: Added the local module
	deletion in conf file



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3239 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2010-09-13 07:38:56 +00:00
parent 5bd3ff3a3d
commit 4e57ccf83c
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2010-09-13 Sergio Martin <sergio.martin@artica.es>
* include/functions_modules.php: Added the local module
deletion in conf file
2010-09-13 Sergio Martin <sergio.martin@artica.es>
* operation/reporting/custom_reporting.php: Center an

View File

@ -118,6 +118,8 @@ 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));
process_sql_delete ('talert_template_modules', $where);
process_sql_delete ('tgraph_source', $where);
process_sql_delete ('treport_content', $where);