From 0a07597f20f3e1f01ab23027bf7ae8ce720f8fce 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 --- 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 1e08c62029..e58cf8b65d 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 904f39a7c3..a3a766ac7d 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::CirculationRules; use Koha::Libraries; diff --git a/opac/opac-shelves.pl b/opac/opac-shelves.pl index 433f3ffaaf..ebdcf13399 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