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>
This commit is contained in:
parent
2c6eadceaa
commit
ccc4be5dc9
|
|
@ -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…
Reference in New Issue