Merge branch 'develop' of https://github.com/pandorafms/pandorafms into develop
This commit is contained in:
commit
0b59266a61
|
@ -22,7 +22,6 @@
|
||||||
require_once($config['homedir'] . '/include/functions.php');
|
require_once($config['homedir'] . '/include/functions.php');
|
||||||
require_once($config['homedir'] . "/include/functions_modules.php");
|
require_once($config['homedir'] . "/include/functions_modules.php");
|
||||||
require_once($config['homedir'] . '/include/functions_users.php');
|
require_once($config['homedir'] . '/include/functions_users.php');
|
||||||
enterprise_include_once('/include/functions_agents.php');
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check the agent exists in the DB.
|
* Check the agent exists in the DB.
|
||||||
|
@ -1815,6 +1814,7 @@ function agents_delete_agent ($id_agents, $disableACL = false) {
|
||||||
"Deleted agent '$agent_name'");
|
"Deleted agent '$agent_name'");
|
||||||
|
|
||||||
// Delete the agent from the metaconsole cache
|
// Delete the agent from the metaconsole cache
|
||||||
|
enterprise_include_once('include/functions_agents.php');
|
||||||
enterprise_hook('agent_delete_from_cache', array($id_agent));
|
enterprise_hook('agent_delete_from_cache', array($id_agent));
|
||||||
|
|
||||||
/* Break the loop on error */
|
/* Break the loop on error */
|
||||||
|
|
Loading…
Reference in New Issue