mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
remove conf agents pandora_enterprise#12293
This commit is contained in:
parent
95fb500fb5
commit
b31f24aca4
@ -152,7 +152,7 @@ sub pandora_purgedb ($$$) {
|
|||||||
);
|
);
|
||||||
|
|
||||||
foreach my $agent_to_delete (@agents_to_delete) {
|
foreach my $agent_to_delete (@agents_to_delete) {
|
||||||
pandora_delete_agent($dbh, $agent_to_delete->{'id_agente'});
|
pandora_delete_agent($dbh, $agent_to_delete->{'id_agente'}, $conf);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -343,7 +343,7 @@ sub pandora_purgedb ($$$) {
|
|||||||
);
|
);
|
||||||
|
|
||||||
foreach my $agent_autodisable_to_delete (@agents_autodisable_to_delete) {
|
foreach my $agent_autodisable_to_delete (@agents_autodisable_to_delete) {
|
||||||
pandora_delete_agent($dbh, $agent_autodisable_to_delete->{'id_agente'});
|
pandora_delete_agent($dbh, $agent_autodisable_to_delete->{'id_agente'}, $conf);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user