Bugzilla – Attachment 13544 Details for
Bug 9107
DidYouMeanFromAuthorities syspref obsolete
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9107 remove the syspref from the database, as well,
Bug-9107-remove-the-syspref-from-the-database-as-w.patch (text/plain), 1.14 KB, created by
Paul Poulain
on 2012-11-20 10:45:10 UTC
(
hide
)
Description:
Bug 9107 remove the syspref from the database, as well,
Filename:
MIME Type:
Creator:
Paul Poulain
Created:
2012-11-20 10:45:10 UTC
Size:
1.14 KB
patch
obsolete
>From e9af44de1c0c6c92eec748f68cb1b42aa29ac8df Mon Sep 17 00:00:00 2001 >From: Paul Poulain <paul.poulain@biblibre.com> >Date: Tue, 20 Nov 2012 11:44:18 +0100 >Subject: [PATCH] Bug 9107 remove the syspref from the database, as well, > >The syspref has been introduced during 3.9, so only a few libraries should have it but for consistency, it must be removed >--- > installer/data/mysql/updatedatabase.pl | 8 ++++++++ > 1 file changed, 8 insertions(+) > >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index 518f23a..964df0c 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -6055,6 +6055,14 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) { > SetVersion ($DBversion); > } > >+$DBversion = "3.09.00.066"; >+if (C4::Context->preference("Version") < TransformToNum($DBversion)) { >+ $dbh->do("DELETE FROM systempreferences WHERE variable='DidYouMeanFromAuthorities'"); >+ print "Upgrade to $DBversion done (Bug 9107: remove DidYouMeanFromAuthorities syspref)\n"; >+ SetVersion ($DBversion); >+} >+ >+ > =head1 FUNCTIONS > > =head2 TableExists($table) >-- >1.7.9.5
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 9107
:
13532
|
13540
|
13543
| 13544