Bug 10986: DBRev 3.15.00.034
authorGalen Charlton <gmc@esilibrary.com>
Sat, 19 Apr 2014 17:17:45 +0000 (17:17 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Sat, 19 Apr 2014 17:20:49 +0000 (17:20 +0000)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
installer/data/mysql/updatedatabase.pl
kohaversion.pl

index be7b574..f906834 100755 (executable)
@@ -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)
index 2b2200d..f249f58 100644 (file)
@@ -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