From 9f293be7e6570779586573b7925e631320e9cb60 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Sat, 19 Apr 2014 17:17:45 +0000 Subject: [PATCH] Bug 10986: DBRev 3.15.00.034 Signed-off-by: Galen Charlton --- installer/data/mysql/updatedatabase.pl | 14 +++++++------- kohaversion.pl | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index be7b5740db..f9068347e0 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -7167,13 +7167,6 @@ if ( CheckVersion($DBversion) ) { print "Upgrade to $DBversion done (Bug 10096 - Add a Z39.50 interface for authority searching)\n"; } -$DBversion = "3.13.00.XXX"; -if ( CheckVersion($DBversion) ) { - $dbh->do("INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES('AdvancedSearchLanguages','','','ISO 639-2 codes of languages you wish to see appear as an Advanced search option. Example: eng|fra|ita','Textarea')"); - print "Upgrade to $DBversion done (Bug 10986: system preferences to limit languages in Advanced search )\n"; - SetVersion ($DBversion); -} - $DBversion = "3.13.00.025"; if (C4::Context->preference("Version") < TransformToNum($DBversion)) { $dbh->do("ALTER TABLE oai_sets_mappings ADD COLUMN operator varchar(8) NOT NULL default 'equal' AFTER marcsubfield;"); @@ -8158,6 +8151,13 @@ if ( CheckVersion($DBversion) ) { SetVersion($DBversion); } +$DBversion = "3.15.00.034"; +if ( CheckVersion($DBversion) ) { + $dbh->do("INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES('AdvancedSearchLanguages','','','ISO 639-2 codes of languages you wish to see appear as an advanced search option. Example: eng|fra|ita','Textarea')"); + print "Upgrade to $DBversion done (Bug 10986: system preferences to limit languages in advanced search )\n"; + SetVersion ($DBversion); +} + =head1 FUNCTIONS =head2 TableExists($table) diff --git a/kohaversion.pl b/kohaversion.pl index 2b2200d9eb..f249f580a6 100644 --- a/kohaversion.pl +++ b/kohaversion.pl @@ -16,7 +16,7 @@ the kohaversion is divided in 4 parts : use strict; sub kohaversion { - our $VERSION = '3.15.00.033'; + our $VERSION = '3.15.00.034'; # version needs to be set this way # so that it can be picked up by Makefile.PL # during install -- 2.39.5