From 5bbc5834d8f05f02b462d89bca2b96c4a78cae83 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 19 Feb 2015 12:48:44 +0100 Subject: [PATCH] Bug 7843: (qa-followup) Create an RSS feed for news in Opac 1/ use strict and warnings are useless, Modern::Perl is used 2/ Prefer to use the interface and theme TT var instead of the hard coded path Signed-off-by: Pierre Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt | 2 +- opac/opac-news-rss.pl | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt index 5dd7955993..ca86c22db5 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt @@ -48,7 +48,7 @@ [% END %]
- + RSS for the librarys general newsfeed.
[% END %] diff --git a/opac/opac-news-rss.pl b/opac/opac-news-rss.pl index 5250a740c5..d48fcebc7a 100755 --- a/opac/opac-news-rss.pl +++ b/opac/opac-news-rss.pl @@ -25,10 +25,6 @@ use C4::Output; use C4::NewsChannels; # GetNewsToDisplay use C4::Languages qw(getTranslatedLanguages accept_language); -use strict; -use warnings; - - my $input = new CGI; my $dbh = C4::Context->dbh; -- 2.39.5