Bumping database version

This commit is contained in:
Chris Cormack 2011-03-22 21:13:21 +13:00
parent ab03dc8295
commit bf98eabe50
2 changed files with 3 additions and 3 deletions

View File

@ -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";

View 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