Bug 21073: (QA follow-up) Remove unused libraries
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 2 May 2019 15:12:10 +0000 (12:12 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 18 Jun 2019 16:29:46 +0000 (17:29 +0100)
Signed-off-by: Agustin Moyano <agustinmoyano@theke.io>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Koha/Plugins.pm
installer/data/mysql/kohastructure.sql
plugins/plugins-upload.pl

index a5e8f53..9d6d827 100644 (file)
@@ -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)$/;
index 2aa2412..912ba23 100644 (file)
@@ -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) )
index 889ab67..2675d8e 100755 (executable)
@@ -20,7 +20,6 @@ use Modern::Perl;
 
 use Archive::Extract;
 use CGI qw ( -utf8 );
-use Class::Inspector;
 use File::Copy;
 use File::Temp;