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

(-)a/Koha/BackgroundJob.pm (-1 lines)
Lines 469-475 sub plugin_types_to_classes { Link Here
469
    my ($self) = @_;
469
    my ($self) = @_;
470
470
471
    unless ( exists $self->{_plugin_mapping} ) {
471
    unless ( exists $self->{_plugin_mapping} ) {
472
        require Koha::Plugins;
473
        my @plugins = Koha::Plugins->new()->GetPlugins( { method => 'background_tasks', } );
472
        my @plugins = Koha::Plugins->new()->GetPlugins( { method => 'background_tasks', } );
474
473
475
        foreach my $plugin (@plugins) {
474
        foreach my $plugin (@plugins) {
(-)a/admin/marc_subfields_structure.pl (-1 / +1 lines)
Lines 28-33 use Koha::Authority::Types; Link Here
28
use Koha::AuthorisedValueCategories;
28
use Koha::AuthorisedValueCategories;
29
use Koha::Filter::MARC::ViewPolicy;
29
use Koha::Filter::MARC::ViewPolicy;
30
use Koha::BiblioFrameworks;
30
use Koha::BiblioFrameworks;
31
use Koha::Plugins;
31
32
32
use List::MoreUtils qw( uniq );
33
use List::MoreUtils qw( uniq );
33
34
Lines 128-134 if ( $op eq 'add_form' ) { Link Here
128
129
129
    # Add valuebuilders from plugins
130
    # Add valuebuilders from plugins
130
    if ( C4::Context->config("enable_plugins") ) {
131
    if ( C4::Context->config("enable_plugins") ) {
131
        require Koha::Plugins;
132
        my $plugins = Koha::Plugins->new();
132
        my $plugins = Koha::Plugins->new();
133
133
134
        # Use the dedicated get_valuebuilders_installed method
134
        # Use the dedicated get_valuebuilders_installed method
(-)a/installer/data/mysql/updatedatabase.pl (-2 / +1 lines)
Lines 44-49 use Koha; Link Here
44
use Koha::DateUtils qw( dt_from_string output_pref );
44
use Koha::DateUtils qw( dt_from_string output_pref );
45
use Koha::Caches;
45
use Koha::Caches;
46
use Koha::Installer::Output qw ( say_failure );
46
use Koha::Installer::Output qw ( say_failure );
47
use Koha::Plugins;
47
48
48
use MARC::Record;
49
use MARC::Record;
49
use MARC::File::XML ( BinaryEncoding => 'utf8' );
50
use MARC::File::XML ( BinaryEncoding => 'utf8' );
Lines 23035-23041 if ( CheckVersion($DBversion) ) { Link Here
23035
        );
23036
        );
23036
    }
23037
    }
23037
23038
23038
    require Koha::Plugins;
23039
    Koha::Plugins->new( { enable_plugins => 1 } )->InstallPlugins;
23039
    Koha::Plugins->new( { enable_plugins => 1 } )->InstallPlugins;
23040
23040
23041
    SetVersion($DBversion);
23041
    SetVersion($DBversion);
23042
- 

Return to bug 38384