Bugzilla – Attachment 83539 Details for
Bug 22053
Ability to disable some plugins
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22053: update database
Bug-22053-update-database.patch (text/plain), 1.13 KB, created by
Alex Arnaud
on 2018-12-28 16:53:58 UTC
(
hide
)
Description:
Bug 22053: update database
Filename:
MIME Type:
Creator:
Alex Arnaud
Created:
2018-12-28 16:53:58 UTC
Size:
1.13 KB
patch
obsolete
>From 101037c17f28ca268f26a96a2b68936325832330 Mon Sep 17 00:00:00 2001 >From: Alex Arnaud <alex.arnaud@biblibre.com> >Date: Fri, 28 Dec 2018 17:52:18 +0100 >Subject: [PATCH] Bug 22053: update database > >--- > .../mysql/atomicupdate/bug_22053_enable-all-plugins.perl | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > create mode 100644 installer/data/mysql/atomicupdate/bug_22053_enable-all-plugins.perl > >diff --git a/installer/data/mysql/atomicupdate/bug_22053_enable-all-plugins.perl b/installer/data/mysql/atomicupdate/bug_22053_enable-all-plugins.perl >new file mode 100644 >index 0000000..63ef70a >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_22053_enable-all-plugins.perl >@@ -0,0 +1,14 @@ >+$DBversion = 'XXX'; # will be replaced by the RM >+if( CheckVersion( $DBversion ) ) { >+ >+ use Koha::Plugins; >+ >+ my @plugins = Koha::Plugins->new()->GetPlugins({ all => 1 }); >+ foreach my $plugin ( @plugins ) { >+ $plugin->enable; >+ } >+ >+ # Always end with this (adjust the bug info) >+ SetVersion( $DBversion ); >+ print "Upgrade to $DBversion done (Bug 22053 - enable all plugins)\n"; >+} >\ No newline at end of file >-- >2.7.4
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 22053
:
83537
|
83538
|
83539
|
83540
|
83666
|
83667
|
86961
|
86962
|
86963
|
86964
|
88783
|
88784
|
88785
|
88818
|
88819
|
88820
|
89040
|
89041
|
89042
|
89043
|
89116
|
89551
|
89558