@@ -, +, @@ --- C4/Installer/PerlDependencies.pm | 5 +++++ Koha/Plugins/Base.pm | 3 ++- 2 files changed, 7 insertions(+), 1 deletions(-) --- a/C4/Installer/PerlDependencies.pm +++ a/C4/Installer/PerlDependencies.pm @@ -674,6 +674,11 @@ our $PERL_DEPS = { 'required' => '0', 'min_ver' => '3.9', }, + 'Module::Load' => { + 'usage' => 'Plugins', + 'required' => '0', + 'min_ver' => '0.16', + }, }; 1; --- a/Koha/Plugins/Base.pm +++ a/Koha/Plugins/Base.pm @@ -20,13 +20,14 @@ package Koha::Plugins::Base; use Modern::Perl; use Module::Pluggable require => 1; +use Module::Load; use base qw{Module::Bundled::Files}; use C4::Context; -use C4::Auth; BEGIN { + load C4::Auth; push @INC, C4::Context->config("pluginsdir"); } --