From b75bf9af6a41c92f5e5d5a41377e02e772fa6ef9 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 1 Sep 2017 09:53:11 -0300 Subject: [PATCH] Bug 19081: Remove useless $plugin_file variable --- Koha/Plugins.pm | 3 --- 1 file changed, 3 deletions(-) diff --git a/Koha/Plugins.pm b/Koha/Plugins.pm index 3a2c008ccd..c0aaa9cb37 100644 --- a/Koha/Plugins.pm +++ b/Koha/Plugins.pm @@ -74,9 +74,6 @@ sub GetPlugins { my @plugins; foreach my $plugin_class (@plugin_classes) { - my $plugin_file = $plugin_class; - $plugin_file =~ s|::|/|g; $plugin_file .= '.pm'; - if ( can_load( modules => { $plugin_class => undef }, nocache => 1 ) ) { next unless $plugin_class->isa('Koha::Plugins::Base'); -- 2.11.0