From d348f1bf1db26d5b6048a7688c3a72fb21136884 Mon Sep 17 00:00:00 2001 From: "felix.suarez" Date: Sun, 17 Dec 2023 00:01:47 -0600 Subject: [PATCH] Remove conf db change --- pandora_server/lib/PandoraFMS/DB.pm | 3 --- 1 file changed, 3 deletions(-) diff --git a/pandora_server/lib/PandoraFMS/DB.pm b/pandora_server/lib/PandoraFMS/DB.pm index 9ee699a08c..b417e44efd 100644 --- a/pandora_server/lib/PandoraFMS/DB.pm +++ b/pandora_server/lib/PandoraFMS/DB.pm @@ -1263,7 +1263,6 @@ sub db_delete_limit ($$$$;@) { sub db_insert ($$$;@) { my ($dbh, $index, $query, @values) = @_; my $insert_id = undef; - $dbh->{PrintError} = 0; eval { $dbh->do($query, undef, @values); @@ -1289,7 +1288,6 @@ sub db_insert ($$$;@) { sub db_update ($$;@) { my ($dbh, $query, @values) = @_; my $rows; - $dbh->{PrintError} = 0; eval { $rows = $dbh->do($query, undef, @values); @@ -1535,7 +1533,6 @@ sub get_agent_addr_id ($$$) { ######################################################################## sub db_do ($$;@) { my ($dbh, $query, @values) = @_; - $dbh->{PrintError} = 0; #DBI->trace( 3, '/tmp/dbitrace.log' ); eval {