Bugzilla – Attachment 126832 Details for
Bug 29246
We should rename the prefs 'template' and opacthemes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29246: Atomic update for db rev
Bug-29246-Atomic-update-for-db-rev.patch (text/plain), 1.07 KB, created by
Marcel de Rooy
on 2021-10-25 13:13:48 UTC
(
hide
)
Description:
Bug 29246: Atomic update for db rev
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2021-10-25 13:13:48 UTC
Size:
1.07 KB
patch
obsolete
>From 01ff2c94cf32f8415f5fafaa5c7ca5b0189831f0 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Mon, 25 Oct 2021 13:12:59 +0000 >Subject: [PATCH] Bug 29246: Atomic update for db rev >Content-Type: text/plain; charset=utf-8 > >--- > installer/data/mysql/atomicupdate/bug_29246.pl | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > create mode 100644 installer/data/mysql/atomicupdate/bug_29246.pl > >diff --git a/installer/data/mysql/atomicupdate/bug_29246.pl b/installer/data/mysql/atomicupdate/bug_29246.pl >new file mode 100644 >index 0000000000..4681a440fd >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_29246.pl >@@ -0,0 +1,13 @@ >+use Modern::Perl; >+ >+return { >+ bug_number => 29246, >+ description => "Rename pref template and opacthemes", >+ up => sub { >+ my ($args) = @_; >+ my ($dbh, $out) = @$args{qw(dbh out)}; >+ my $sql = q|UPDATE systempreferences SET variable=? WHERE variable=?|; >+ $dbh->do( $sql, undef, 'opactheme', 'opacthemes'); >+ $dbh->do( $sql, undef, 'intranet_theme', 'template'); >+ }, >+} >-- >2.20.1
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 29246
:
126828
|
126829
|
126830
|
126831
| 126832