Bug 9403: Increment version number
authorJared Camins-Esakov <jcamins@cpbibliography.com>
Thu, 21 Mar 2013 16:02:15 +0000 (12:02 -0400)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Thu, 21 Mar 2013 16:02:15 +0000 (12:02 -0400)
Database update for bug 9403 has been given version 3.11.00.109

installer/data/mysql/updatedatabase.pl
kohaversion.pl

index 3c81eee..8a6a5b8 100755 (executable)
@@ -6557,13 +6557,6 @@ if ( CheckVersion($DBversion) ) {
     SetVersion($DBversion);
 }
 
-$DBversion = "3.11.00.XXX";
-if ( CheckVersion($DBversion) ) {
-   $dbh->do("INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES('DisplayIconsXSLT', '1', '', 'If ON, displays the format, audience, and material type icons in XSLT MARC21 results and detail pages.', 'YesNo');");
-   print "Upgrade to $DBversion done (Bug 9403: Add DisplayIconsXSLT)\n";
-   SetVersion ($DBversion);
-}
-
 $DBversion = "3.11.00.104";
 if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
     print "Upgrade to $DBversion done (3.12-alpha2 release)\n";
@@ -6678,6 +6671,14 @@ if ( CheckVersion($DBversion) ) {
     SetVersion($DBversion);
 }
 
+$DBversion = "3.11.00.109";
+if ( CheckVersion($DBversion) ) {
+   $dbh->do("INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES('DisplayIconsXSLT', '1', '', 'If ON, displays the format, audience, and material type icons in XSLT MARC21 results and detail pages.', 'YesNo');");
+   print "Upgrade to $DBversion done (Bug 9403: Add DisplayIconsXSLT)\n";
+   SetVersion ($DBversion);
+}
+
+
 
 =head1 FUNCTIONS
 
index d9bdb74..fc5fbd8 100644 (file)
@@ -16,7 +16,7 @@ the kohaversion is divided in 4 parts :
 use strict;
 
 sub kohaversion {
-    our $VERSION = '3.11.00.108';
+    our $VERSION = '3.11.00.109';
     # version needs to be set this way
     # so that it can be picked up by Makefile.PL
     # during install