Bug 21073: (QA follow-up) Don't call -> twice!

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Tomas Cohen Arazi 2019-06-17 08:17:43 -03:00 committed by Martin Renvoize
parent 493292b36c
commit 0bdb41bf1a
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
1 changed files with 0 additions and 1 deletions

View File

@ -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";