From 63002fa58914bf90db9b5ca1802a96f120762a69 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 Signed-off-by: Fridolin Somers --- C4/Biblio.pm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/C4/Biblio.pm b/C4/Biblio.pm index aac46f025e..7e65a63d9f 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.39.5