Fixed module configuration error with open version (without enterprise).

This commit is contained in:
Junichi Satoh 2015-05-13 21:56:43 +09:00
parent 9cebf8ee34
commit 8a63bc171d
1 changed files with 1 additions and 1 deletions

View File

@ -994,7 +994,7 @@ if ($update_module || $create_module) {
// Make changes in the conf file if necessary // Make changes in the conf file if necessary
enterprise_include_once('include/functions_config_agents.php'); enterprise_include_once('include/functions_config_agents.php');
if (!policies_is_module_in_policy($id_agent_module)) { if (!enterprise_hook('policies_is_module_in_policy', array($id_agent_module))) {
enterprise_hook('config_agents_write_module_in_conf', enterprise_hook('config_agents_write_module_in_conf',
array($id_agente, io_safe_output($old_configuration_data), array($id_agente, io_safe_output($old_configuration_data),
io_safe_output($configuration_data), $disabled)); io_safe_output($configuration_data), $disabled));