From 3236f54750f7da1cc2e47fa4f5134c7c75ba7e1f Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 14 Mar 2025 16:09:08 +0000 Subject: [PATCH] Bug 38330: (QA follow-up) Remove use of metadata_extractor We had a local method for getting opac_suppressed in Koha::Biblio which relied on extracting from the MARC record. Now that we have an opac_suppressed field in the Biblio table, we no longer need this wrapper method. Signed-off-by: Martin Renvoize --- Koha/Biblio.pm | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/Koha/Biblio.pm b/Koha/Biblio.pm index e3971b1cb55..c9baa0d1540 100644 --- a/Koha/Biblio.pm +++ b/Koha/Biblio.pm @@ -1681,20 +1681,6 @@ sub normalized_upc { return $self->metadata_extractor->get_normalized_upc; } -=head3 opac_suppressed - - my $opac_suppressed = $biblio->opac_suppressed(); - -Returns whether the record is flagged as suppressed in the OPAC. -FIXME: Revisit after 38330 discussion - -=cut - -sub opac_suppressed { - my ($self) = @_; - return $self->metadata_extractor->get_opac_suppression(); -} - =head3 normalized_oclc my $normalized_oclc = $biblio->normalized_oclc -- 2.48.1