From 6da1888a16ce9ac873cf8b6eea72f25118c0126f 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 --- 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 ccbb987f07..7ef011381d 100644 --- a/installer/data/mysql/kohastructure.sql +++ b/installer/data/mysql/kohastructure.sql @@ -3537,7 +3537,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.11.0