Bugzilla – Attachment 16438 Details for
Bug 7440
Vestiges of NoZebra should be removed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7440 - Remove NoZebra and QueryRemoveStopWords sysprefs
Bug-7440---Remove-NoZebra-and-QueryRemoveStopWords.patch (text/plain), 1.34 KB, created by
Paul Poulain
on 2013-03-19 17:27:57 UTC
(
hide
)
Description:
Bug 7440 - Remove NoZebra and QueryRemoveStopWords sysprefs
Filename:
MIME Type:
Creator:
Paul Poulain
Created:
2013-03-19 17:27:57 UTC
Size:
1.34 KB
patch
obsolete
>From 12f74962c31e08d7eaf5a2523023788ed2b3f45b Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@gmail.com> >Date: Thu, 14 Mar 2013 15:28:38 -0300 >Subject: [PATCH] Bug 7440 - Remove NoZebra and QueryRemoveStopWords sysprefs >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Sponsored-by: Universidad Nacional de Córdoba >Signed-off-by: Julian Maurice <julian.maurice@biblibre.com> > >Signed-off-by: Paul Poulain <paul.poulain@biblibre.com> >--- > installer/data/mysql/updatedatabase.pl | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index f0a9269..e96b520 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -6532,6 +6532,18 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) { > SetVersion ($DBversion); > } > >+$DBversion = "XXX"; >+if ( CheckVersion($DBversion) ) { >+ $dbh->do(q{ >+ DELETE FROM systempreferences WHERE variable='NoZebra' >+ }); >+ $dbh->do(q{ >+ DELETE FROM systempreferences WHERE variable='QueryRemoveStopwords' >+ }); >+ print "Upgrade to $DBversion done (Remove deprecated NoZebra and QueryRemoveStopwords sysprefs)\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 7440
:
16134
|
16137
|
16138
|
16276
|
16277
|
16340
|
16341
|
16437
| 16438 |
16439