diff --git a/pandora_console/include/functions_agents.php b/pandora_console/include/functions_agents.php index 97dabbe645..c7e5fcc551 100644 --- a/pandora_console/include/functions_agents.php +++ b/pandora_console/include/functions_agents.php @@ -1769,6 +1769,7 @@ function agents_delete_agent ($id_agents, $disableACL = false) { // db_process_delete_temp ("tagent_access", "id_agent", $id_agent); // Delete agent policies + enterprise_include_once('include/functions_policies.php'); enterprise_hook('policies_delete_agent', array($id_agent)); // Delete agent in networkmap enterprise @@ -2297,4 +2298,4 @@ function agents_get_network_interfaces ($agents = false, $agents_filter = false) return $ni_by_agents; } -?> \ No newline at end of file +?>