From 1334e89ed0013d38fb10e134f46268384b239144 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Tue, 7 Jun 2022 12:44:03 +0000 Subject: [PATCH] Bug 30813: (QA follow-up) Adjust three use statements Altough we used the namespace when calling, the intention of bug 17600 was that we do import the routines that we are calling here. Signed-off-by: Marcel de Rooy Signed-off-by: Tomas Cohen Arazi --- C4/Breeding.pm | 2 +- C4/XISBN.pm | 5 +++-- Koha/MetaSearcher.pm | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/C4/Breeding.pm b/C4/Breeding.pm index 866350b645..7b3dbc5874 100644 --- a/C4/Breeding.pm +++ b/C4/Breeding.pm @@ -21,7 +21,7 @@ package C4::Breeding; use strict; use warnings; -use C4::Biblio; +use C4::Biblio qw(TransformMarcToKoha); use C4::Koha qw( GetVariationsOfISBN ); use C4::Charset qw( MarcToUTF8Record SetUTF8Flag ); use MARC::File::USMARC; diff --git a/C4/XISBN.pm b/C4/XISBN.pm index 466c2da169..67d89ea96c 100644 --- a/C4/XISBN.pm +++ b/C4/XISBN.pm @@ -1,4 +1,5 @@ package C4::XISBN; + # Copyright (C) 2007 LibLime # Joshua Ferraro # @@ -19,8 +20,8 @@ package C4::XISBN; use Modern::Perl; use XML::Simple; -#use LWP::Simple; -use C4::Biblio; + +use C4::Biblio qw(TransformMarcToKoha); use C4::Koha qw( GetNormalizedISBN ); use C4::Search qw( new_record_from_zebra ); use C4::External::Syndetics qw( get_syndetics_editions ); diff --git a/Koha/MetaSearcher.pm b/Koha/MetaSearcher.pm index e33e69b323..f9d3837f6b 100644 --- a/Koha/MetaSearcher.pm +++ b/Koha/MetaSearcher.pm @@ -21,7 +21,7 @@ use Modern::Perl; use base 'Class::Accessor'; -use C4::Biblio; +use C4::Biblio qw(TransformMarcToKoha); use C4::Charset qw( MarcToUTF8Record SetUTF8Flag ); use C4::Search qw( new_record_from_zebra ); use DBIx::Class::ResultClass::HashRefInflator; -- 2.39.5