From 22a438aeb405ff1114982f5a0aa8e05b8195b3fa Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Mon, 7 Mar 2011 15:13:53 +1300 Subject: [PATCH] Bumping database version --- installer/data/mysql/updatedatabase.pl | 4 ++-- kohaversion.pl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index acbb427921..d6b7322d71 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -4036,7 +4036,7 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) { SetVersion($DBversion); }; -$DBversion = "3.03.00.021"; +$DBversion = '3.03.00.021'; if (C4::Context->preference("Version") < TransformToNum($DBversion)) { $dbh->do("ALTER TABLE items MODIFY enumchron TEXT"); $dbh->do("ALTER TABLE deleteditems MODIFY enumchron TEXT"); @@ -4044,7 +4044,7 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) { SetVersion ($DBversion); } -$DBversion = 'XXX'; +$DBversion = '3.03.00.022'; if (C4::Context->preference("Version") < TransformToNum($DBversion)) { $dbh->do("INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('AuthoritiesLog','0','If ON, log edit/create/delete actions on authorities.','','YesNo');"); print "Upgrade to $DBversion done (Add AuthoritiesLog syspref)\n"; diff --git a/kohaversion.pl b/kohaversion.pl index 9a936074cf..6c5f07dc67 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.03.00.021'; + our $VERSION = '3.03.00.022'; # version needs to be set this way # so that it can be picked up by Makefile.PL # during install -- 2.39.5