From 7205b8b5e7aacf061faccb407eb78aa05c1ffa2d Mon Sep 17 00:00:00 2001 From: Liz Rea Date: Tue, 17 Jan 2017 15:46:59 +1300 Subject: [PATCH] [SIGNED-OFF] Bug 17855 - removing some errant warns Just removing some warns that crept in during debugging. Signed-off-by: Mark Tompsett --- installer/onboarding.pl | 5 ----- 1 file changed, 5 deletions(-) diff --git a/installer/onboarding.pl b/installer/onboarding.pl index 437657d..d7c2f75 100755 --- a/installer/onboarding.pl +++ b/installer/onboarding.pl @@ -165,7 +165,6 @@ if ( $step && $step == 1 ) { else { $message = 'error_on_insert'; } - warn $message; $template->param( 'message' => $message ); #Check if the $step variable equals 2 i.e. the user has clicked to create a patron category in the create patron category screen 1 @@ -249,7 +248,6 @@ elsif ( $step && $step == 3 ) { #Find all patron records in the database and hand them to the template my %currentpatrons = Koha::Patrons->search(); my $currentpatrons = values %currentpatrons; - warn $currentpatrons; $template->param( 'patrons' =>$currentpatrons); @@ -285,9 +283,7 @@ elsif ( $step && $step == 3 ) { #Incrementing the highest existing patron cardnumber to prevent duplicate cardnumber entry my $exisiting_cardnumber = my $sth_search = $dbh->prepare("SELECT MAX(cardnumber) FROM borrowers"); - warn $exisiting_cardnumber; my $new_cardnumber = $exisiting_cardnumber + 1; - warn $new_cardnumber; $template->param( "newcardnumber" => $new_cardnumber ); my $op = $input->param('op') // 'list'; @@ -454,7 +450,6 @@ elsif ( $step && $step == 4 ) { if ($op eq "add_validate"){ my $description = $input->param('description'); my $itemtype_code = $input->param('itemtype'); - warn $description; $itemtype_code = uc($itemtype_code); #Create a new itemtype object using the user inputted itemtype and description -- 2.1.4