DHTMLcalendar should not be imported.
authorJoe Atzberger <joe.atzberger@liblime.com>
Fri, 12 Sep 2008 16:25:01 +0000 (11:25 -0500)
committerGalen Charlton <galen.charlton@liblime.com>
Wed, 17 Sep 2008 03:21:57 +0000 (22:21 -0500)
Changing these scripts as precursor to removing it from C4::Dates @EXPORT_OK

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
labels/label-item-search.pl
reports/dictionary.pl
reports/guided_reports.pl

index 386c97d..6871616 100755 (executable)
@@ -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'},
index 7edd1d4..60bdc1a 100755 (executable)
@@ -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
 
index 0c5d94b..deeabe7 100755 (executable)
@@ -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