[Koha-patches] [PATCH] [SIGNED-OFF] Bug 2616: Remove unnecessary 'use HTML::Template' calls

Marcel de Rooy M.de.Rooy at rijksmuseum.nl
Mon Dec 5 09:23:21 CET 2011


From: Ian Walls <ian.walls at bywatersolutions.com>

Removes deprecated calls to HTML::Template or HTML::Template::Pro from:
C4/Output.pm
catalogue/export.pl
reports/issues_by_borrower_category.plugin
reports/itemtypes.plugin

Only remaining calls are in misc/cronjobs/rss/rss.pl, misc/cronjobs/smsoverdues.pl,
and t/test_template.pl.  These scripts still legitimately depend on H:T:P

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
---
 C4/Output.pm                               |    1 -
 catalogue/export.pl                        |    1 -
 reports/issues_by_borrower_category.plugin |    1 -
 reports/itemtypes.plugin                   |    1 -
 4 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/C4/Output.pm b/C4/Output.pm
index 41a0a28..6ab16d9 100644
--- a/C4/Output.pm
+++ b/C4/Output.pm
@@ -33,7 +33,6 @@ use C4::Dates qw(format_date);
 use C4::Budgets qw(GetCurrency);
 use C4::Templates;
 
-#use HTML::Template::Pro;
 use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
 
 BEGIN {
diff --git a/catalogue/export.pl b/catalogue/export.pl
index 3efdb21..2b55d9f 100755
--- a/catalogue/export.pl
+++ b/catalogue/export.pl
@@ -1,5 +1,4 @@
 #!/usr/bin/perl
-use HTML::Template::Pro;
 use strict;
 #use warnings; FIXME - Bug 2505
 
diff --git a/reports/issues_by_borrower_category.plugin b/reports/issues_by_borrower_category.plugin
index 5b43023..825a492 100755
--- a/reports/issues_by_borrower_category.plugin
+++ b/reports/issues_by_borrower_category.plugin
@@ -22,7 +22,6 @@ use strict;
 use C4::Auth;
 use CGI;
 use C4::Context;
-use HTML::Template::Pro;
 use C4::Search;
 use C4::Output;
 use C4::Koha;
diff --git a/reports/itemtypes.plugin b/reports/itemtypes.plugin
index d541429..f543f2d 100755
--- a/reports/itemtypes.plugin
+++ b/reports/itemtypes.plugin
@@ -22,7 +22,6 @@ use strict;
 use C4::Auth;
 use CGI;
 use C4::Context;
-use HTML::Template::Pro;
 use C4::Search;
 use C4::Output;
 use C4::Koha;
-- 
1.6.0.6



More information about the Koha-patches mailing list