From e9781465a85dfb62edfd5b3ee952ab9daf02e2bf Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 3 Aug 2021 14:46:56 +0200 Subject: [PATCH] Bug 17600: Add missing imports in authorities/ --- C4/Breeding.pm | 2 +- authorities/authorities.pl | 2 +- authorities/merge.pl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/C4/Breeding.pm b/C4/Breeding.pm index ce99efeac8f..75f47c668a1 100644 --- a/C4/Breeding.pm +++ b/C4/Breeding.pm @@ -27,7 +27,7 @@ use C4::Charset qw( MarcToUTF8Record SetUTF8Flag ); use MARC::File::USMARC; use MARC::Field; use C4::ImportBatch qw( GetZ3950BatchId AddBiblioToBatch AddAuthToBatch ); -use C4::AuthoritiesMarc; #GuessAuthTypeCode, FindDuplicateAuthority +use C4::AuthoritiesMarc qw( GuessAuthTypeCode ); use C4::Languages; use Koha::Database; use Koha::XSLT::Base; diff --git a/authorities/authorities.pl b/authorities/authorities.pl index 11e60ef3eab..229dc276608 100755 --- a/authorities/authorities.pl +++ b/authorities/authorities.pl @@ -23,7 +23,7 @@ use Modern::Perl; use CGI qw ( -utf8 ); use C4::Auth qw( get_template_and_user ); use C4::Output qw( output_html_with_http_headers ); -use C4::AuthoritiesMarc qw( GetAuthority GetTagsLabels GetAuthMARCFromKohaField ); +use C4::AuthoritiesMarc qw( AddAuthority ModAuthority GetAuthority GetTagsLabels GetAuthMARCFromKohaField FindDuplicateAuthority ); use C4::ImportBatch qw( GetImportRecordMarc ); use C4::Context; use Date::Calc qw( Today ); diff --git a/authorities/merge.pl b/authorities/merge.pl index d9af163e793..0799c26b042 100755 --- a/authorities/merge.pl +++ b/authorities/merge.pl @@ -21,7 +21,7 @@ use Modern::Perl; use CGI qw ( -utf8 ); use C4::Output qw( output_html_with_http_headers ); use C4::Auth qw( get_template_and_user ); -use C4::AuthoritiesMarc qw( GetAuthority ModAuthority DelAuthority GetTagsLabels ); +use C4::AuthoritiesMarc qw( GetAuthority ModAuthority DelAuthority GetTagsLabels merge ); use C4::Biblio qw( TransformHtmlToMarc ); use Koha::Authority::MergeRequests; -- 2.20.1