From 0c156b1ef386156083e4f9086f12d5d35d5a3ec7 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Thu, 13 Mar 2008 17:18:07 -0500 Subject: [PATCH] removed warns Signed-off-by: Joshua Ferraro --- C4/Calendar.pm | 1 - C4/Circulation.pm | 1 - 2 files changed, 2 deletions(-) diff --git a/C4/Calendar.pm b/C4/Calendar.pm index c355850d6a..8c22884007 100644 --- a/C4/Calendar.pm +++ b/C4/Calendar.pm @@ -490,7 +490,6 @@ sub addDate { } else { ## ($daysMode eq 'Days') ($year, $month, $day) = &Date::Calc::Add_Delta_Days($year, $month, $day, $offset ); } -warn sprintf("%04d-%02d-%02d",$year,$month,$day); return(C4::Dates->new( sprintf("%04d-%02d-%02d",$year,$month,$day),'iso')); } diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 85409364ae..45d978f486 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -2024,7 +2024,6 @@ sub CalcDateDue { my @datearr = localtime($datedue); return C4::Dates->new( sprintf("%04d-%02d-%02d", 1900 + $datearr[5], $datearr[4] + 1, $datearr[3]), 'iso'); } else { - warn $branch; my $calendar = C4::Calendar->new( branchcode => $branch ); my $datedue = $calendar->addDate($startdate, $loanlength); return $datedue; -- 2.39.5