From 91eec9c7c273be3c0bf4a4d33a6712db74dc21d7 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Tue, 10 May 2022 11:16:59 -0300 Subject: [PATCH] Bug 30710: (QA follow-up) Add POD Signed-off-by: Tomas Cohen Arazi --- C4/Biblio.pm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/C4/Biblio.pm b/C4/Biblio.pm index 682edffb7f..36035feff7 100644 --- a/C4/Biblio.pm +++ b/C4/Biblio.pm @@ -470,7 +470,7 @@ sub _strip_item_fields { =head2 DelBiblio - my $error = &DelBiblio($biblionumber); + my $error = &DelBiblio($biblionumber, $params); Exported function (core API) for deleting a biblio in koha. Deletes biblio record from Zebra and Koha tables (biblio & biblioitems) @@ -479,6 +479,15 @@ Checks to make sure that the biblio has no items attached. return: C<$error> : undef unless an error occurs +I<$params> is a hashref containing extra parameters. Valid keys are: + +=over 4 + +=item B: used when the holds queue update will be handled by the caller + +=item B: used when the indexing schedulling will be handled by the caller + +=back =cut sub DelBiblio { -- 2.34.1