Bugzilla – Attachment 89277 Details for
Bug 21073
Improve plugin performance
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21073: (QA follow-up) Remove unused libraries
Bug-21073-QA-follow-up-Remove-unused-libraries.patch (text/plain), 1.77 KB, created by
Agustín Moyano
on 2019-05-03 02:49:51 UTC
(
hide
)
Description:
Bug 21073: (QA follow-up) Remove unused libraries
Filename:
MIME Type:
Creator:
Agustín Moyano
Created:
2019-05-03 02:49:51 UTC
Size:
1.77 KB
patch
obsolete
>From 1ed2c7cd2ecbeb17372de560cefe1318a2a386ee Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Thu, 2 May 2019 12:12:10 -0300 >Subject: [PATCH] Bug 21073: (QA follow-up) Remove unused libraries > >Signed-off-by: Agustin Moyano <agustinmoyano@theke.io> >--- > 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.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 21073
:
76955
|
76956
|
76957
|
76958
|
76973
|
88379
|
88380
|
88381
|
89247
|
89251
|
89252
|
89255
|
89256
|
89272
|
89273
|
89274
|
89275
|
89276
|
89277
|
89278
|
89279
|
89786
|
89800
|
89801
|
89802
|
89803
|
89804
|
89805
|
89806
|
89807
|
89808
|
90630
|
90631
|
90650
|
90651
|
90652
|
90653
|
90654
|
90655
|
90656
|
90657
|
90658
|
90659
|
90660
|
90661
|
90662
|
90663
|
90664
|
90724
|
90725
|
90726
|
90727
|
90728
|
90729
|
90730
|
90731
|
90732
|
90733
|
90734
|
90735
|
90736
|
90737
|
90738
|
90739
|
90759
|
90816