View | Details | Raw Unified | Return to bug 32305
Collapse All | Expand All

(-)a/Koha/BackgroundJob.pm (-1 / +7 lines)
Lines 164-169 sub process { Link Here
164
164
165
    return {} if ref($self) ne 'Koha::BackgroundJob';
165
    return {} if ref($self) ne 'Koha::BackgroundJob';
166
166
167
    if ( $self->status ne 'new' ) {
168
        Koha::Logger->get->warn(
169
            sprintf "This background job has been processed already, or is not waiting to be processed (%s - %s)",
170
            $self->id, $self->status
171
        );
172
        return;
173
    }
167
    my $derived_class = $self->_derived_class;
174
    my $derived_class = $self->_derived_class;
168
175
169
    $args ||= {};
176
    $args ||= {};
170
- 

Return to bug 32305