From ccc4be5dc91ba4ddb9a17fcd9b9dc8af60853c6b Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Wed, 1 Sep 2021 13:23:00 -0300 Subject: [PATCH] Bug 26080: (QA follow-up) Add POD Signed-off-by: Tomas Cohen Arazi Signed-off-by: Jonathan Druart --- Koha/BackgroundJob/BatchDeleteBiblio.pm | 28 +++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/Koha/BackgroundJob/BatchDeleteBiblio.pm b/Koha/BackgroundJob/BatchDeleteBiblio.pm index 64984bfe8e..c1077716af 100644 --- a/Koha/BackgroundJob/BatchDeleteBiblio.pm +++ b/Koha/BackgroundJob/BatchDeleteBiblio.pm @@ -9,10 +9,32 @@ use C4::Biblio; use base 'Koha::BackgroundJob'; +=head1 NAME + +Koha::BackgroundJob::BatchDeleteBiblio - Batch delete bibliographic records + +This is a subclass of Koha::BackgroundJob. + +=head1 API + +=head2 Class methods + +=head3 job_type + +Define the job type of this job: batch_biblio_record_deletion + +=cut + sub job_type { return 'batch_biblio_record_deletion'; } +=head3 process + +Process the job. + +=cut + sub process { my ( $self, $args ) = @_; @@ -141,6 +163,12 @@ sub process { $job->store; } +=head3 enqueue + +Enqueue the new job + +=cut + sub enqueue { my ( $self, $args) = @_; -- 2.39.5