From 31f50156a7aad0a77b6618f69088d9d0afc2ecde 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 Signed-off-by: Kyle M Hall --- Koha/Plugins.pm | 3 --- 1 file changed, 3 deletions(-) diff --git a/Koha/Plugins.pm b/Koha/Plugins.pm index 3a2c008..c0aaa9c 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.10.2