remove conf agents pandora_enterprise#12293

This commit is contained in:
daniel 2023-12-01 11:05:01 +01:00
parent 95fb500fb5
commit b31f24aca4
1 changed files with 2 additions and 2 deletions

View File

@ -152,7 +152,7 @@ sub pandora_purgedb ($$$) {
);
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) {
pandora_delete_agent($dbh, $agent_autodisable_to_delete->{'id_agente'});
pandora_delete_agent($dbh, $agent_autodisable_to_delete->{'id_agente'}, $conf);
}
}