From e45249537c6a298ad5d7c3c006598dfe37a8119a Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Thu, 22 Jul 2021 10:15:54 +1200 Subject: [PATCH] Bug 27266: (follow-up) Remove instances of GetMarcAuthors Signed-off-by: Martin Renvoize --- basket/basket.pl | 1 - basket/sendbasket.pl | 1 - opac/opac-basket.pl | 1 - opac/opac-detail.pl | 1 - opac/opac-sendbasket.pl | 1 - opac/opac-sendshelf.pl | 1 - t/Biblio.t | 2 +- virtualshelves/sendshelf.pl | 1 - 8 files changed, 1 insertion(+), 8 deletions(-) diff --git a/basket/basket.pl b/basket/basket.pl index eace7fe03d..84331cdf9b 100755 --- a/basket/basket.pl +++ b/basket/basket.pl @@ -21,7 +21,6 @@ use CGI qw ( -utf8 ); use C4::Koha; use C4::Biblio qw( GetBiblioData - GetMarcAuthors GetMarcBiblio GetMarcSeries GetMarcSubjects diff --git a/basket/sendbasket.pl b/basket/sendbasket.pl index a393add625..c52c2cf69c 100755 --- a/basket/sendbasket.pl +++ b/basket/sendbasket.pl @@ -24,7 +24,6 @@ use Try::Tiny qw( catch try ); use C4::Biblio qw( GetBiblioData - GetMarcAuthors GetMarcBiblio GetMarcSubjects ); diff --git a/opac/opac-basket.pl b/opac/opac-basket.pl index fe50339a58..013cbab083 100755 --- a/opac/opac-basket.pl +++ b/opac/opac-basket.pl @@ -23,7 +23,6 @@ use C4::Koha; use C4::Biblio qw( GetBiblioData GetFrameworkCode - GetMarcAuthors GetMarcBiblio GetMarcSeries GetMarcSubjects diff --git a/opac/opac-detail.pl b/opac/opac-detail.pl index 2a28860a06..00dd53cb00 100755 --- a/opac/opac-detail.pl +++ b/opac/opac-detail.pl @@ -37,7 +37,6 @@ use C4::Output qw( parametrized_url output_html_with_http_headers ); use C4::Biblio qw( CountItemsIssued GetBiblioData - GetMarcAuthors GetMarcBiblio GetMarcControlnumber GetMarcISBN diff --git a/opac/opac-sendbasket.pl b/opac/opac-sendbasket.pl index ade073afc0..14dd409667 100755 --- a/opac/opac-sendbasket.pl +++ b/opac/opac-sendbasket.pl @@ -26,7 +26,6 @@ use Try::Tiny qw( catch try ); use C4::Biblio qw( GetBiblioData - GetMarcAuthors GetMarcBiblio GetMarcSubjects ); diff --git a/opac/opac-sendshelf.pl b/opac/opac-sendshelf.pl index bf593b711a..621bca9c02 100755 --- a/opac/opac-sendshelf.pl +++ b/opac/opac-sendshelf.pl @@ -28,7 +28,6 @@ use C4::Auth qw( get_template_and_user ); use C4::Biblio qw( GetBiblioData GetFrameworkCode - GetMarcAuthors GetMarcBiblio GetMarcISBN GetMarcSubjects diff --git a/t/Biblio.t b/t/Biblio.t index 1b84ba8f8c..40b22ed593 100755 --- a/t/Biblio.t +++ b/t/Biblio.t @@ -24,7 +24,7 @@ use Test::Warn; plan tests => 37; -use_ok('C4::Biblio', qw( AddBiblio ModBiblio BiblioAutoLink LinkBibHeadingsToAuthorities GetMarcPrice GetMarcQuantity GetMarcControlnumber GetMarcISBN GetMarcISSN GetMarcSubjects GetMarcAuthors GetMarcUrls GetMarcSeries TransformMarcToKoha ModBiblioMarc RemoveAllNsb GetMarcBiblio UpdateTotalIssues )); +use_ok('C4::Biblio', qw( AddBiblio ModBiblio BiblioAutoLink LinkBibHeadingsToAuthorities GetMarcPrice GetMarcQuantity GetMarcControlnumber GetMarcISBN GetMarcISSN GetMarcSubjects GetMarcUrls GetMarcSeries TransformMarcToKoha ModBiblioMarc RemoveAllNsb GetMarcBiblio UpdateTotalIssues )); my $db = Test::MockModule->new('Koha::Database'); $db->mock( _new_schema => sub { return Schema(); } ); diff --git a/virtualshelves/sendshelf.pl b/virtualshelves/sendshelf.pl index dfd4be1dab..acb1a52d1d 100755 --- a/virtualshelves/sendshelf.pl +++ b/virtualshelves/sendshelf.pl @@ -27,7 +27,6 @@ use Try::Tiny qw( catch try ); use C4::Auth qw( get_template_and_user ); use C4::Biblio qw( GetBiblioData - GetMarcAuthors GetMarcBiblio GetMarcISBN GetMarcSubjects -- 2.11.0