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

(-)a/Koha/Plugins/Handler.pm (-2 lines)
Lines 66-72 sub run { Link Here
66
    if ( $has_method ) {
66
    if ( $has_method ) {
67
        load $plugin_class;
67
        load $plugin_class;
68
        my $plugin = $plugin_class->new( { cgi => $cgi, enable_plugins => $args->{'enable_plugins'} } );
68
        my $plugin = $plugin_class->new( { cgi => $cgi, enable_plugins => $args->{'enable_plugins'} } );
69
        my @return = $plugin->$plugin_method( $params );
70
        return $plugin->$plugin_method( $params );
69
        return $plugin->$plugin_method( $params );
71
    } else {
70
    } else {
72
        warn "Plugin does not have method $plugin_method";
71
        warn "Plugin does not have method $plugin_method";
73
- 

Return to bug 21073