[Koha-cvs] koha/C4/Circulation Circ2.pm [rel_2_2]

Joshua Ferraro jmf at liblime.com
Tue Feb 13 10:59:22 CET 2007


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_2_2
Changes by:	Joshua Ferraro <kados>	07/02/13 09:59:22

Modified files:
	C4/Circulation : Circ2.pm 

Log message:
	removing last Calendar::Calendaqr

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Circulation/Circ2.pm?cvsroot=koha&only_with_tag=rel_2_2&r1=1.87.2.20&r2=1.87.2.21

Patches:
Index: Circ2.pm
===================================================================
RCS file: /sources/koha/koha/C4/Circulation/Circ2.pm,v
retrieving revision 1.87.2.20
retrieving revision 1.87.2.21
diff -u -b -r1.87.2.20 -r1.87.2.21
--- Circ2.pm	13 Feb 2007 09:55:29 -0000	1.87.2.20
+++ Circ2.pm	13 Feb 2007 09:59:22 -0000	1.87.2.21
@@ -3,7 +3,7 @@
 
 package C4::Circulation::Circ2;
 
-# $Id: Circ2.pm,v 1.87.2.20 2007/02/13 09:55:29 rangi Exp $
+# $Id: Circ2.pm,v 1.87.2.21 2007/02/13 09:59:22 kados Exp $
 
 #package to deal with Returns
 #written 3/11/99 by olwen at katipo.co.nz
@@ -905,7 +905,7 @@
 		my $dateduef = (1900+$datearr[5])."-".($datearr[4]+1)."-".$datearr[3];
 
 		# now calling addDate() from Calendar.pm (Tumer's holiday module).
-        my $calendar = C4::Calendar::Calendar->new(branchcode => $borrower->{'branchcode'});
+        my $calendar = C4::Calendar->new(branchcode => $borrower->{'branchcode'});
         my ($yeardue, $monthdue, $daydue) = split /-/, $dateduef;
         ($daydue, $monthdue, $yeardue) = $calendar->addDate($daydue, $monthdue, $yeardue, $loanlength);
         $dateduef = "$yeardue-".sprintf ("%0.2d", $monthdue)."-". sprintf("%0.2d",$daydue);





More information about the Koha-cvs mailing list