Bug 24031: Remove check for syspref UseKohaPlugins

UseKohaPlugins has been removed by bug 20415

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Julian Maurice 2020-05-22 12:28:17 +02:00 committed by Jonathan Druart
parent 04afc1678a
commit e5e058e39f
1 changed files with 1 additions and 1 deletions

View File

@ -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) {