[Koha-patches] [PATCH] DHTMLcalendar should not be imported.
Joe Atzberger
joe.atzberger at liblime.com
Fri Sep 12 18:25:01 CEST 2008
Changing these scripts as precursor to removing it from C4::Dates @EXPORT_OK
---
labels/label-item-search.pl | 6 +-----
reports/dictionary.pl | 2 +-
reports/guided_reports.pl | 2 +-
3 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/labels/label-item-search.pl b/labels/label-item-search.pl
index 386c97d..6871616 100755
--- a/labels/label-item-search.pl
+++ b/labels/label-item-search.pl
@@ -30,7 +30,7 @@ use C4::Biblio;
use C4::Items;
use C4::Acquisition;
use C4::Search;
-use C4::Dates qw( DHTMLcalendar );
+use C4::Dates;
use C4::Koha; # XXX subfield_is_koha_internal_p
use C4::Debug;
use List::Util qw( max min );
@@ -209,12 +209,8 @@ else {
debug => 1,
}
);
-
- #using old rel2.2 getitemtypes for testing!!!!, not devweek's GetItemTypes()
-
my $itemtypes = GetItemTypes;
my @itemtypeloop;
- my ($thisitemtype );
foreach my $thisitemtype (keys %$itemtypes) {
my %row =(value => $thisitemtype,
description => $itemtypes->{$thisitemtype}->{'description'},
diff --git a/reports/dictionary.pl b/reports/dictionary.pl
index 7edd1d4..60bdc1a 100755
--- a/reports/dictionary.pl
+++ b/reports/dictionary.pl
@@ -22,7 +22,7 @@ use C4::Auth;
use CGI;
use C4::Output;
use C4::Reports;
-use C4::Dates qw( DHTMLcalendar );
+use C4::Dates;
=head1 NAME
diff --git a/reports/guided_reports.pl b/reports/guided_reports.pl
index 0c5d94b..deeabe7 100755
--- a/reports/guided_reports.pl
+++ b/reports/guided_reports.pl
@@ -22,7 +22,7 @@ use CGI;
use C4::Reports;
use C4::Auth;
use C4::Output;
-use C4::Dates qw( DHTMLcalendar );
+use C4::Dates;
use C4::Debug;
=head1 NAME
--
1.5.5.GIT
More information about the Koha-patches
mailing list