[Koha-cvs] koha/tools holidays.pl [rel_2_2]

Joshua Ferraro jmf at liblime.com
Tue Feb 13 10:54:05 CET 2007


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

Modified files:
	tools          : holidays.pl 

Log message:
	cleaning calendar api

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/tools/holidays.pl?cvsroot=koha&only_with_tag=rel_2_2&r1=1.3.2.2&r2=1.3.2.3

Patches:
Index: holidays.pl
===================================================================
RCS file: /sources/koha/koha/tools/holidays.pl,v
retrieving revision 1.3.2.2
retrieving revision 1.3.2.3
diff -u -b -r1.3.2.2 -r1.3.2.3
--- holidays.pl	13 Feb 2007 09:52:42 -0000	1.3.2.2
+++ holidays.pl	13 Feb 2007 09:54:05 -0000	1.3.2.3
@@ -37,7 +37,7 @@
 $branches->finish;
 
 # Get all the holidays
-my $calendar = C4::Calendar::Calendar->new(branchcode => $branch);
+my $calendar = C4::Calendar->new(branchcode => $branch);
 my $week_days_holidays = $calendar->get_week_days_holidays();
 my @week_days;
 foreach my $weekday (keys %$week_days_holidays) {





More information about the Koha-cvs mailing list