From 2d0724a44131e2c9394ba1d7b3f2a8ac6e747ad0 Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 6 Oct 2009 23:51:45 +0000 Subject: [PATCH] remove inadvertant debugging warnings --- FS/FS/cust_bill_pkg.pm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/FS/FS/cust_bill_pkg.pm b/FS/FS/cust_bill_pkg.pm index c8c242eb0..d3bdfd12a 100644 --- a/FS/FS/cust_bill_pkg.pm +++ b/FS/FS/cust_bill_pkg.pm @@ -186,9 +186,7 @@ sub insert { if ( $tax_location ) { foreach my $cust_bill_pkg_tax_location ( @$tax_location ) { $cust_bill_pkg_tax_location->billpkgnum($self->billpkgnum); - warn $cust_bill_pkg_tax_location; $error = $cust_bill_pkg_tax_location->insert; - warn $error; if ( $error ) { $dbh->rollback if $oldAutoCommit; return "error inserting cust_bill_pkg_tax_location: $error"; @@ -201,7 +199,6 @@ sub insert { foreach my $cust_bill_pkg_tax_rate_location ( @$tax_rate_location ) { $cust_bill_pkg_tax_rate_location->billpkgnum($self->billpkgnum); $error = $cust_bill_pkg_tax_rate_location->insert; - warn $error; if ( $error ) { $dbh->rollback if $oldAutoCommit; return "error inserting cust_bill_pkg_tax_rate_location: $error"; @@ -213,7 +210,6 @@ sub insert { if ( $cust_tax_adjustment ) { $cust_tax_adjustment->billpkgnum($self->billpkgnum); $error = $cust_tax_adjustment->replace; - warn $error; if ( $error ) { $dbh->rollback if $oldAutoCommit; return "error replacing cust_tax_adjustment: $error"; @@ -346,7 +342,7 @@ Returns the package (see L) for this invoice line item. sub cust_pkg { my $self = shift; - warn "$me $self -> cust_pkg"; + #warn "$me $self -> cust_pkg"; #carp? qsearchs( 'cust_pkg', { 'pkgnum' => $self->pkgnum } ); } -- 2.11.0