View | Details | Raw Unified | Return to bug 24031
Collapse All | Expand All

(-)a/Koha/Plugins.pm (-2 / +1 lines)
Lines 63-69 Calls a plugin method for all enabled plugins Link Here
63
sub call {
63
sub call {
64
    my ($class, $method, @args) = @_;
64
    my ($class, $method, @args) = @_;
65
65
66
    if (C4::Context->preference('UseKohaPlugins') && C4::Context->config('enable_plugins')) {
66
    if (C4::Context->config('enable_plugins')) {
67
        my @plugins = $class->new({ enable_plugins => 1 })->GetPlugins({ method => $method });
67
        my @plugins = $class->new({ enable_plugins => 1 })->GetPlugins({ method => $method });
68
        my @responses;
68
        my @responses;
69
        foreach my $plugin (@plugins) {
69
        foreach my $plugin (@plugins) {
70
- 

Return to bug 24031