Bumping database version
authorChris Cormack <chrisc@catalyst.net.nz>
Tue, 22 Mar 2011 08:13:21 +0000 (21:13 +1300)
committerChris Cormack <chrisc@catalyst.net.nz>
Tue, 22 Mar 2011 08:13:21 +0000 (21:13 +1300)
installer/data/mysql/updatedatabase.pl
kohaversion.pl

index a478234..084fad4 100755 (executable)
@@ -4090,7 +4090,7 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
     SetVersion ($DBversion);
 }
 
-$DBversion = '3.03.00.027'; #FIXME
+$DBversion = '3.03.00.027'; 
 if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
     $dbh->do("INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('displayFacetCount', '0', NULL, NULL, 'YesNo')");
     $dbh->do("INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('maxRecordsForFacets', '20', NULL, NULL, 'Integer')");
@@ -4098,7 +4098,7 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
     SetVersion ($DBversion);
 }
 
-$DBversion = "3.03.00.XXX";
+$DBversion = "3.03.00.028";
 if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
     $dbh->do("INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('FacetLabelTruncationLength', 20, 'Truncate facets length to','','free')");
     print "Upgrade to $DBversion done (Add FacetLabelTruncationLength syspref to control facets displayed length)\n";
index 8330459..aadafd5 100644 (file)
@@ -16,7 +16,7 @@ the kohaversion is divided in 4 parts :
 use strict;
 
 sub kohaversion {
-    our $VERSION = '3.03.00.XXX';
+    our $VERSION = '3.03.00.028';
     # version needs to be set this way
     # so that it can be picked up by Makefile.PL
     # during install