From addc372890f60960622dff14e37b78a2f101750d Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 21 Feb 2020 14:35:30 +0100 Subject: [PATCH] Bug 17896: Remove duplicated use statements and remove uneeded '&' Signed-off-by: Jonathan Druart Signed-off-by: Martin Renvoize Signed-off-by: Joy Nelson --- opac/opac-detail.pl | 3 +-- opac/opac-readingrecord.pl | 3 +-- opac/opac-search.pl | 3 +-- opac/opac-shelves.pl | 3 +-- opac/opac-user.pl | 3 +-- 5 files changed, 5 insertions(+), 10 deletions(-) diff --git a/opac/opac-detail.pl b/opac/opac-detail.pl index 461d5c3ec1..3c05fd1b60 100755 --- a/opac/opac-detail.pl +++ b/opac/opac-detail.pl @@ -34,8 +34,7 @@ use C4::Circulation; use C4::Tags qw(get_tags); use C4::XISBN qw(get_xisbns); use C4::External::Amazon; -use C4::External::BakerTaylor; -use C4::External::BakerTaylor qw(&image_url &link_url); +use C4::External::BakerTaylor qw( image_url link_url ); use C4::External::Syndetics qw(get_syndetics_index get_syndetics_summary get_syndetics_toc get_syndetics_excerpt get_syndetics_reviews get_syndetics_anotes ); use C4::Members; use C4::XSLT; diff --git a/opac/opac-readingrecord.pl b/opac/opac-readingrecord.pl index 745e77c276..0e7a33a44a 100755 --- a/opac/opac-readingrecord.pl +++ b/opac/opac-readingrecord.pl @@ -25,8 +25,7 @@ use C4::Koha; use C4::Biblio; use C4::Circulation; use C4::Members; -use C4::External::BakerTaylor; -use C4::External::BakerTaylor qw(&image_url &link_url); +use C4::External::BakerTaylor qw( image_url link_url ); use Koha::DateUtils; use MARC::Record; diff --git a/opac/opac-search.pl b/opac/opac-search.pl index 2470779444..c71862b1e6 100755 --- a/opac/opac-search.pl +++ b/opac/opac-search.pl @@ -51,8 +51,7 @@ use C4::Koha; use C4::Tags qw(get_tags); use C4::SocialData; use C4::External::OverDrive; -use C4::External::BakerTaylor; -use C4::External::BakerTaylor qw(&image_url &link_url); +use C4::External::BakerTaylor qw( image_url link_url ); use Koha::Libraries; use Koha::ItemTypes; diff --git a/opac/opac-shelves.pl b/opac/opac-shelves.pl index f3caed682a..1271f1bbf7 100755 --- a/opac/opac-shelves.pl +++ b/opac/opac-shelves.pl @@ -22,8 +22,7 @@ use Modern::Perl; use CGI qw ( -utf8 ); use C4::Auth; use C4::Biblio; -use C4::External::BakerTaylor; -use C4::External::BakerTaylor qw(&image_url &link_url); +use C4::External::BakerTaylor qw( image_url link_url ); use C4::Koha; use C4::Items; use C4::Members; diff --git a/opac/opac-user.pl b/opac/opac-user.pl index c6ca9c7b87..99a32ebb63 100755 --- a/opac/opac-user.pl +++ b/opac/opac-user.pl @@ -24,8 +24,7 @@ use CGI qw ( -utf8 ); use C4::Auth; use C4::Koha; use C4::Circulation; -use C4::External::BakerTaylor; -use C4::External::BakerTaylor qw(&image_url &link_url); +use C4::External::BakerTaylor qw( image_url link_url ); use C4::Reserves; use C4::Members; use C4::Members::AttributeTypes; -- 2.39.5