From ea13cf75b1800f4ad25c81973a56fae2bda94c35 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 --- 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.20.1