2012-04-26 Sergio Martin <sergio.martin@artica.es>

* lib/PandoraFMS/Core.pm: Added call to delete the agent
	related nodes of the network map enterprise



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6193 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2012-04-26 13:31:53 +00:00
parent 8f581a21b8
commit 466726a59e
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2012-04-26 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Core.pm: Added call to delete the agent
related nodes of the network map enterprise
2012-04-23 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Merged from 4.0 branch. Do not insert zeroes

View File

@ -1543,6 +1543,9 @@ sub pandora_delete_agent ($$;$) {
foreach my $module (@modules) {
pandora_delete_module ($dbh, $module->{'id_agente_modulo'});
}
# Delete all the associated nodes of networkmap enterprise, if exist
enterprise_hook('pandora_delete_networkmap_enterprise_agents', [$dbh,$agent_id]);
}
##########################################################################