Bugzilla – Attachment 88820 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.31 KB, created by
Agustín Moyano
on 2019-04-25 22:34:37 UTC
(
hide
)
Description:
Bug 22053: update database
Filename:
MIME Type:
Creator:
Agustín Moyano
Created:
2019-04-25 22:34:37 UTC
Size:
1.31 KB
patch
obsolete
>From 3255cdfea69552e3a266c5f642e953022ab5c65f 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 > >Rebased-on: 2019-03-25 Alex Arnaud <alex.arnaud@biblibre.com> > >Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de> >Signed-off-by: Agustin Moyano <agustinmoyano@theke.io> >--- > .../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 0000000000..63ef70a1d0 >--- /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.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 22053
:
83537
|
83538
|
83539
|
83540
|
83666
|
83667
|
86961
|
86962
|
86963
|
86964
|
88783
|
88784
|
88785
|
88818
|
88819
|
88820
|
89040
|
89041
|
89042
|
89043
|
89116
|
89551
|
89558