Bugzilla – Attachment 49355 Details for
Bug 16019
Remove unused blue.css
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 16019: Add a warning in the update DB process if intranetcolorstylesheet=blue.css
PASSED-QA-Bug-16019-Add-a-warning-in-the-update-DB.patch (text/plain), 1.49 KB, created by
Katrin Fischer
on 2016-03-20 21:48:14 UTC
(
hide
)
Description:
[PASSED QA] Bug 16019: Add a warning in the update DB process if intranetcolorstylesheet=blue.css
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2016-03-20 21:48:14 UTC
Size:
1.49 KB
patch
obsolete
>From 0b8bf12d46a3407348bdb6ddb3668ed14da4eea4 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 18 Mar 2016 16:34:09 +0000 >Subject: [PATCH] [PASSED QA] Bug 16019: Add a warning in the update DB process > if intranetcolorstylesheet=blue.css > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > installer/data/mysql/updatedatabase.pl | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index c3cf05d..3b1f7b5 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -12022,6 +12022,20 @@ if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { > SetVersion($DBversion); > } > >+ >+$DBversion = "XXX"; >+if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { >+ >+ my $c = $dbh->selectrow_array('SELECT COUNT(*) FROM systempreferences WHERE variable="intranetcolorstylesheet" AND value="blue.css"'); >+ >+ if ( $c ) { >+ print "WARNING: You are using a stylesheeet which has been removed from the Koha codebase.\n"; >+ print "Update your intranetcolorstylesheet.\n"; >+ } >+ print "Upgrade to $DBversion done (Bug 16019 - Check intranetcolorstylesheet for blue.css)\n"; >+ SetVersion($DBversion); >+} >+ > # DEVELOPER PROCESS, search for anything to execute in the db_update directory > # SEE bug 13068 > # if there is anything in the atomicupdate, read and execute it. >-- >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 16019
:
48861
|
48925
|
49323
|
49324
| 49355 |
49356