From b31f24aca4ae3bd910b84044f9acb506c41e99d9 Mon Sep 17 00:00:00 2001 From: daniel Date: Fri, 1 Dec 2023 11:05:01 +0100 Subject: [PATCH] remove conf agents pandora_enterprise#12293 --- pandora_server/util/pandora_db.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora_server/util/pandora_db.pl b/pandora_server/util/pandora_db.pl index 442abc17be..c00701b51f 100755 --- a/pandora_server/util/pandora_db.pl +++ b/pandora_server/util/pandora_db.pl @@ -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); } }