@@ -, +, @@ --- Koha/Plugins.pm | 1 - installer/data/mysql/kohastructure.sql | 3 ++- plugins/plugins-upload.pl | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) --- a/Koha/Plugins.pm +++ a/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)$/; --- a/installer/data/mysql/kohastructure.sql +++ a/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) ) --- a/plugins/plugins-upload.pl +++ a/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; --