From e2e2ed862870a67293c234c04a0b76675849393e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Mon, 4 May 2009 16:04:47 +0000 Subject: [PATCH] Debug-Code entfernt --- SL/Common.pm | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/SL/Common.pm b/SL/Common.pm index cb381591d..51cec862f 100644 --- a/SL/Common.pm +++ b/SL/Common.pm @@ -57,8 +57,6 @@ sub retrieve_parts { $filter .= qq| AND ($_ ILIKE ?)|; push @filter_values, '%' . $form->{$_} . '%'; } -$main::lxdebug->dump(0, "assemblies in common", $form->{assemblies}); -$main::lxdebug->dump(0, "no assemblies in common", $form->{no_assemblies}); if ($form->{no_assemblies}) { $filter .= qq| AND (NOT COALESCE(assembly, FALSE))|; @@ -85,12 +83,7 @@ $main::lxdebug->dump(0, "no assemblies in common", $form->{no_assemblies}); qq|ORDER BY $order_by $order_dir|; my $sth = $dbh->prepare($query); $sth->execute(@filter_values) || $form->dberror($query . " (" . join(", ", @filter_values) . ")"); - -$main::lxdebug->dump(0, "query", $query); - -$main::lxdebug->dump(0, "values", @filter_values); - - + open STDERR, ">>/usr/local/src/lxoffice/users/de.log" or die $!; print STDERR "hier:" . $query . "filter " . $filter . "filterwerte:" . $filter_values[0] . "\n"; close STDERR; my $parts = []; while (my $ref = $sth->fetchrow_hashref()) { push(@{$parts}, $ref); -- 2.20.1