From 0a44448bfb4a46c069889319136bece143841dbc Mon Sep 17 00:00:00 2001 From: Paul Poulain Date: Thu, 29 Mar 2012 15:10:34 +0200 Subject: [PATCH] bug 7641 follow-up: remove some unconditionnal warns --- C4/Reserves.pm | 3 --- 1 file changed, 3 deletions(-) diff --git a/C4/Reserves.pm b/C4/Reserves.pm index 05a4870f01..930d524071 100644 --- a/C4/Reserves.pm +++ b/C4/Reserves.pm @@ -1098,7 +1098,6 @@ sub ModReserve { if ( defined( $suspend_until ) ) { if ( $suspend_until ) { $suspend_until = C4::Dates->new( $suspend_until )->output("iso"); - warn "SUSPEND UNTIL: $suspend_until"; $dbh->do("UPDATE reserves SET suspend = 1, suspend_until = ? WHERE biblionumber = ? AND borrowernumber = ?", undef, ( $suspend_until, $biblio, $borrower ) ); } else { $dbh->do("UPDATE reserves SET suspend_until = NULL WHERE biblionumber = ? AND borrowernumber = ?", undef, ( $biblio, $borrower ) ); @@ -1559,8 +1558,6 @@ sub SuspendAll { my $suspend_until = $params{'suspend_until'} || undef; my $suspend = defined( $params{'suspend'} ) ? $params{'suspend'} : 1; - warn "C4::Reserves::SuspendAll( borrowernumber => $borrowernumber, biblionumber => $biblionumber, suspend_until => $suspend_until, suspend => $suspend )"; - $suspend_until = C4::Dates->new( $suspend_until )->output("iso") if ( defined( $suspend_until ) ); return unless ( $borrowernumber || $biblionumber ); -- 2.39.5