Browse Source

Bug 26080: (QA follow-up) Add POD

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
21.11.x
Tomás Cohen Arazi 3 years ago
committed by Jonathan Druart
parent
commit
ccc4be5dc9
  1. 28
      Koha/BackgroundJob/BatchDeleteBiblio.pm

28
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) = @_;

Loading…
Cancel
Save