Bugzilla – Attachment 30655 Details for
Bug 12233
remove prog and CCSR OPAC themes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12233: change opacthemes syspref from {prog|ccsr} to bootstrap
Bug-12233-change-opacthemes-syspref-from-progccsr-.patch (text/plain), 1.09 KB, created by
Tomás Cohen Arazi (tcohen)
on 2014-08-10 13:43:37 UTC
(
hide
)
Description:
Bug 12233: change opacthemes syspref from {prog|ccsr} to bootstrap
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2014-08-10 13:43:37 UTC
Size:
1.09 KB
patch
obsolete
>From e01c4ffab91902c88cee3d19489450da82f169ec Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@gmail.com> >Date: Sun, 10 Aug 2014 10:37:26 -0300 >Subject: [PATCH] Bug 12233: change opacthemes syspref from {prog|ccsr} to > bootstrap > >--- > installer/data/mysql/updatedatabase.pl | 10 ++++++++++ > 1 file changed, 10 insertions(+) > >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index 3f1af57..b1c71f3 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -8603,6 +8603,16 @@ if ( CheckVersion($DBversion) ) { > SetVersion($DBversion); > } > >+$DBversion = "3.17.00.XXX"; >+if ( CheckVersion($DBversion) ) { >+ my $opac_theme = C4::Context->preference( 'opacthemes' ); >+ if ( $opac_theme eq 'prog' || $opac_theme eq 'ccsr' ) { >+ $dbh->do("UPDATE systempreferences SET value='bootstrap' WHERE variable='opacthemes'"); >+ } >+ print "Upgrade to $DBversion done (Bug 12223: 'prog' and 'ccsr' themes removed)\n"; >+ SetVersion($DBversion); >+} >+ > =head1 FUNCTIONS > > =head2 TableExists($table) >-- >1.9.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 12233
:
30654
| 30655