Bugzilla – Attachment 39954 Details for
Bug 13966
Backport HEA to Koha 3.16 and/or 3.14
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 13966 - Backport HEA to Koha 3.16 and/or 3.14
PASSED-QA-Bug-13966---Backport-HEA-to-Koha-316-and.patch (text/plain), 1.42 KB, created by
Katrin Fischer
on 2015-06-06 18:30:59 UTC
(
hide
)
Description:
[PASSED QA] Bug 13966 - Backport HEA to Koha 3.16 and/or 3.14
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2015-06-06 18:30:59 UTC
Size:
1.42 KB
patch
obsolete
>From 602be8f106ef2e70ae27d62ab4f6f22b86fb1d1c Mon Sep 17 00:00:00 2001 >From: Mason James <mtj@kohaaloha.com> >Date: Wed, 8 Apr 2015 19:14:55 +1200 >Subject: [PATCH] [PASSED QA] Bug 13966 - Backport HEA to Koha 3.16 and/or 3.14 > >This trivial patch stops any potential SQL errors/warnings for a HEA enabled 3.16 or 3.14 Koha, when upgrading to a newer Koha > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >Add the missing prefs unless they exist and don't raise an error if already >exist. > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > installer/data/mysql/updatedatabase.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index 34c2d74..4196e07 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -8868,7 +8868,7 @@ $DBversion = "3.17.00.030"; > if ( CheckVersion($DBversion) ) { > $dbh->do( > q{ >- INSERT INTO systempreferences (variable, value, options, explanation, type ) >+ INSERT IGNORE INTO systempreferences (variable, value, options, explanation, type ) > VALUES > ('UsageStatsCountry', '', NULL, 'The country where your library is located, to be shown on the Hea Koha community website', 'YesNo'), > ('UsageStatsID', '', NULL, 'This preference is part of Koha but it should not be deleted or updated manually.', 'Free'), >-- >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 13966
:
37559
|
38003
| 39954