mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
Merge branch '164-CLI-update_module-no-deslinka' into 'pandora_6.0'
164 cli update module no deslinka See merge request !56
This commit is contained in:
commit
90a8668f66
@ -2799,6 +2799,11 @@ sub cli_module_update() {
|
|||||||
|
|
||||||
$update->{$field} = $new_value;
|
$update->{$field} = $new_value;
|
||||||
|
|
||||||
|
my $policy_id = enterprise_hook('get_id_policy_module_agent_module',[$dbh, safe_input($id_agent_module)]);
|
||||||
|
if ( $policy_id > 0) {
|
||||||
|
$update->{policy_linked} = 0;
|
||||||
|
}
|
||||||
|
|
||||||
pandora_update_module_from_hash ($conf, $update, 'id_agente_modulo', $id_agent_module, $dbh);
|
pandora_update_module_from_hash ($conf, $update, 'id_agente_modulo', $id_agent_module, $dbh);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user