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:
parent
04afc1678a
commit
e5e058e39f
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue