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:
parent
5569ed057e
commit
2dc9ec6e2e
|
@ -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>
|
2014-05-25 Junichi Satoh <junichi@rworks.jp>
|
||||||
|
|
||||||
* godmode/modules/manage_network_components.php,
|
* godmode/modules/manage_network_components.php,
|
||||||
|
|
|
@ -1365,6 +1365,7 @@ if ($enable_module) {
|
||||||
$result = modules_change_disabled($enable_module, 0);
|
$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);
|
db_pandora_audit("Module management", 'Enable ' . $enable_module);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -1379,6 +1380,7 @@ if ($disable_module) {
|
||||||
$result = modules_change_disabled($disable_module, 1);
|
$result = modules_change_disabled($disable_module, 1);
|
||||||
|
|
||||||
if ($result === NOERR) {
|
if ($result === NOERR) {
|
||||||
|
enterprise_hook('config_agents_disable_module_conf', array($id_agente, $disable_module));
|
||||||
db_pandora_audit("Module management", 'Disable ' . $disable_module);
|
db_pandora_audit("Module management", 'Disable ' . $disable_module);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue