From 0bdb41bf1a7aaec3cbcde969527113b59b72144a Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Mon, 17 Jun 2019 08:17:43 -0300 Subject: [PATCH] Bug 21073: (QA follow-up) Don't call -> twice! Signed-off-by: Tomas Cohen Arazi Signed-off-by: Kyle M Hall Signed-off-by: Martin Renvoize --- Koha/Plugins/Handler.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/Koha/Plugins/Handler.pm b/Koha/Plugins/Handler.pm index 30b9e8bb0c..aa4970c6fc 100644 --- a/Koha/Plugins/Handler.pm +++ b/Koha/Plugins/Handler.pm @@ -66,7 +66,6 @@ sub run { if ( $has_method ) { load $plugin_class; my $plugin = $plugin_class->new( { cgi => $cgi, enable_plugins => $args->{'enable_plugins'} } ); - my @return = $plugin->$plugin_method( $params ); return $plugin->$plugin_method( $params ); } else { warn "Plugin does not have method $plugin_method"; -- 2.39.5