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:
parent
8f581a21b8
commit
466726a59e
|
@ -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
|
||||
|
|
|
@ -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]);
|
||||
}
|
||||
|
||||
##########################################################################
|
||||
|
|
Loading…
Reference in New Issue