From b4088b93a4fc26b442d43eafad98025ca11441d0 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Thu, 2 May 2019 12:12:10 -0300 Subject: [PATCH] Bug 21073: (QA follow-up) Remove unused libraries Signed-off-by: Agustin Moyano Signed-off-by: Tomas Cohen Arazi Signed-off-by: Kyle M Hall Signed-off-by: Martin Renvoize --- Koha/Plugins.pm | 1 - installer/data/mysql/kohastructure.sql | 3 ++- plugins/plugins-upload.pl | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Koha/Plugins.pm b/Koha/Plugins.pm index a5e8f53f98..9d6d827a45 100644 --- a/Koha/Plugins.pm +++ b/Koha/Plugins.pm @@ -20,7 +20,6 @@ package Koha::Plugins; use Modern::Perl; use Class::Inspector; -use List::MoreUtils qw( any ); use Module::Load::Conditional qw(can_load); use Module::Load qw(load); use Module::Pluggable search_path => ['Koha::Plugin'], except => qr/::Edifact(|::Line|::Message|::Order|::Segment|::Transport)$/; diff --git a/installer/data/mysql/kohastructure.sql b/installer/data/mysql/kohastructure.sql index 2aa2412379..912ba233e1 100644 --- a/installer/data/mysql/kohastructure.sql +++ b/installer/data/mysql/kohastructure.sql @@ -3539,7 +3539,8 @@ CREATE TABLE patron_consent ( -- Table structure for table 'plugin_data' -- -CREATE TABLE IF NOT EXISTS plugin_methods ( +DROP TABLE IF EXISTS plugin_methods; +CREATE TABLE plugin_methods ( plugin_class varchar(255) NOT NULL, plugin_method varchar(255) NOT NULL, PRIMARY KEY ( `plugin_class` (191), `plugin_method` (191) ) diff --git a/plugins/plugins-upload.pl b/plugins/plugins-upload.pl index 889ab673a2..2675d8e149 100755 --- a/plugins/plugins-upload.pl +++ b/plugins/plugins-upload.pl @@ -20,7 +20,6 @@ use Modern::Perl; use Archive::Extract; use CGI qw ( -utf8 ); -use Class::Inspector; use File::Copy; use File::Temp; -- 2.39.5