2014-05-26 Vanessa Gil <vanessa.gil@artica.es>

* godmode/agentes/configurar_agente.php: Comment module
	in configuration file when this module is disabled.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10007 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
vgilc 2014-05-26 13:14:26 +00:00
parent 5569ed057e
commit 2dc9ec6e2e
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-05-26 Vanessa Gil <vanessa.gil@artica.es>
* godmode/agentes/configurar_agente.php: Comment module
in configuration file when this module is disabled.
2014-05-25 Junichi Satoh <junichi@rworks.jp>
* godmode/modules/manage_network_components.php,

View File

@ -1364,7 +1364,8 @@ if (!empty($duplicate_module)) { // DUPLICATE agent module !
if ($enable_module) {
$result = modules_change_disabled($enable_module, 0);
if ($result === NOERR) {
if ($result === NOERR) {
enterprise_hook('config_agents_enable_module_conf', array($id_agente, $enable_module));
db_pandora_audit("Module management", 'Enable ' . $enable_module);
}
else {
@ -1379,6 +1380,7 @@ if ($disable_module) {
$result = modules_change_disabled($disable_module, 1);
if ($result === NOERR) {
enterprise_hook('config_agents_disable_module_conf', array($id_agente, $disable_module));
db_pandora_audit("Module management", 'Disable ' . $disable_module);
}
else {