Bugzilla – Attachment 160032 Details for
Bug 35536
Improve removal of Koha plugins in unit tests
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35536: DO NOT PUSH !!! - Example plugin
Bug-35536-DO-NOT-PUSH----Example-plugin.patch (text/plain), 1010 bytes, created by
Marcel de Rooy
on 2023-12-19 15:57:09 UTC
(
hide
)
Description:
Bug 35536: DO NOT PUSH !!! - Example plugin
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2023-12-19 15:57:09 UTC
Size:
1010 bytes
patch
obsolete
>From d76da4c6b359e8b044ee4f1aa8278fb090ceec74 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Thu, 14 Dec 2023 09:10:20 +0000 >Subject: [PATCH] Bug 35536: DO NOT PUSH !!! - Example plugin >Content-Type: text/plain; charset=utf-8 > >After applying patch, run: >perl -MKoha::Plugins -e"Koha::Plugin->new->InstallPlugins" >This installs the TestMR plugin. >--- > Koha/Plugin/TestMR.pm | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > create mode 100644 Koha/Plugin/TestMR.pm > >diff --git a/Koha/Plugin/TestMR.pm b/Koha/Plugin/TestMR.pm >new file mode 100644 >index 0000000000..0adbe489ce >--- /dev/null >+++ b/Koha/Plugin/TestMR.pm >@@ -0,0 +1,13 @@ >+package Koha::Plugin::TestMR; >+use Modern::Perl; >+use parent qw/Koha::Plugins::Base/; >+our $VERSION = 1.00; >+our $metadata = { name => 'TestMR', version => $VERSION }; >+sub new { >+ my ($class, $params) = @_; >+ $params->{metadata} = $metadata; >+ return $class->SUPER::new($params); >+} >+sub tool {} >+sub install { 1; } >+1; >-- >2.30.2
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 35536
:
159804
|
159820
|
159821
|
159822
|
159823
|
159824
|
159825
|
159830
|
159839
|
159840
|
159841
|
159842
|
159843
|
159844
|
160024
|
160025
|
160026
|
160027
|
160028
|
160029
|
160030
|
160031
|
160032
|
160801
|
160802
|
160803
|
160804
|
160805
|
160806
|
160807
|
160808
|
160809
|
160817
|
160818
|
160819
|
160820
|
160821
|
160822
|
160823
|
160824
|
160825
|
160881
|
160882
|
160883
|
160884
|
160885
|
160886
|
160887
|
160888
|
160889
|
163701
|
163797