Bug 7440 - Remove NoZebra and QueryRemoveStopWords sysprefs

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>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
This commit is contained in:
Tomas Cohen Arazi 2013-03-14 15:28:38 -03:00 committed by Jared Camins-Esakov
parent 4dcee58a4d
commit 7142d1dca8
1 changed files with 12 additions and 0 deletions

View File

@ -6538,6 +6538,18 @@ if ( CheckVersion($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)