From e5e058e39fa97e5732f514ded46128b666bfba99 Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Fri, 22 May 2020 12:28:17 +0200 Subject: [PATCH] Bug 24031: Remove check for syspref UseKohaPlugins UseKohaPlugins has been removed by bug 20415 Signed-off-by: Kyle M Hall Signed-off-by: Jonathan Druart --- Koha/Plugins.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/Plugins.pm b/Koha/Plugins.pm index 4e7926b359..ae2f2c5c22 100644 --- a/Koha/Plugins.pm +++ b/Koha/Plugins.pm @@ -63,7 +63,7 @@ Calls a plugin method for all enabled plugins sub call { my ($class, $method, @args) = @_; - if (C4::Context->preference('UseKohaPlugins') && C4::Context->config('enable_plugins')) { + if (C4::Context->config('enable_plugins')) { my @plugins = $class->new({ enable_plugins => 1 })->GetPlugins({ method => $method }); my @responses; foreach my $plugin (@plugins) { -- 2.39.5