From 9e1d15669e980e37122baacbde55d8d5d9c64065 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 --- 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 0e9a4544f6..ad75c3e560 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 793109e71f..6c6b00f9d1 100644 --- a/installer/data/mysql/kohastructure.sql +++ b/installer/data/mysql/kohastructure.sql @@ -3535,7 +3535,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.21.0