From 9fd9885fb501af1e4ad957e36a6882c1b81be9a9 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/ Signed-off-by: Nick Clemens Signed-off-by: Jonathan Druart --- 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 ce99efeac8..75f47c668a 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 11e60ef3ea..229dc27660 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 d9af163e79..0799c26b04 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.39.5