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

(-)a/Koha/BackgroundJob.pm (-2 / +1 lines)
Lines 380-386 Returns the available types to class mappings. Link Here
380
sub type_to_class_mapping {
380
sub type_to_class_mapping {
381
    my ($self) = @_;
381
    my ($self) = @_;
382
382
383
    my $plugins_mapping = $self->plugin_types_to_classes;
383
    my $plugins_mapping = ( C4::Context->config("enable_plugins") ) ? $self->plugin_types_to_classes : {};
384
384
385
    return ($plugins_mapping)
385
    return ($plugins_mapping)
386
      ? { %{ $self->core_types_to_classes }, %$plugins_mapping }
386
      ? { %{ $self->core_types_to_classes }, %$plugins_mapping }
387
- 

Return to bug 31223