From 1ee8e7457fe7d149f4d8176ff9512efb068ea92a 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 --- 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.24.1 (Apple Git-126)