@@ -, +, @@ koha-illbackend-libris: https://github.com/Libriotech/koha-illbackend-libris --- Koha/Illrequest/Workflow/Availability.pm | 2 ++ ill/ill-requests.pl | 1 + 2 files changed, 3 insertions(+) --- a/Koha/Illrequest/Workflow/Availability.pm +++ a/Koha/Illrequest/Workflow/Availability.pm @@ -64,6 +64,8 @@ sub get_services { $plugin_filter->{metadata} = $params->{metadata}; } + return [] unless C4::Context->config("enable_plugins"); + my @candidates = Koha::Plugins->new()->GetPlugins($plugin_filter); my @services = (); foreach my $plugin (@candidates) { --- a/ill/ill-requests.pl +++ a/ill/ill-requests.pl @@ -531,6 +531,7 @@ sub can_batch { # Get available metadata enrichment plugins sub get_metadata_enrichment { + return [] unless C4::Context->config("enable_plugins"); my @candidates = Koha::Plugins->new()->GetPlugins({ method => 'provides_api' }); --