<<

NAME

Koha::BackgroundJob::BatchDeletePatron - Background job derived class to process patron deletion in batch

NAME

Koha::BackgroundJob::BatchDeletePatron - Background job for batch deleting patrons

API

Class methods

job_type

Return the job type 'batch_patron_deletion'.

process

    Koha::BackgroundJobs->find($id)->process(
        {
            record_ids      => \@borrowernumbers,
            move_to_deleted => 0|1,
        }
    );

Process all the patrons that have been passed for deletion.

enqueue

Enqueue the job.

<<