From 265167d0c3ab4898c1ac6d19ce8e5ae91ed94078 Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Thu, 14 Apr 2011 20:28:17 +1200 Subject: [PATCH] Bumping database version --- installer/data/mysql/updatedatabase.pl | 14 ++++++++------ kohaversion.pl | 2 +- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 3baefc845c..c43e9b64e5 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -4134,12 +4134,6 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) { print "Upgrade to $DBversion done ( include subdivisions when generating subject tracing searches )\n"; } -$DBversion = "3.03.00.XXX"; -if (C4::Context->preference("Version") < TransformToNum($DBversion)) { - $dbh->do("INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('WaitingNotifyAtCheckin',0,'If ON, notify librarians of waiting holds for the patron whose items they are checking in.',NULL,'YesNo');"); - print "Upgrade to $DBversion done (Add syspref WaitingNotifyAtCheckin)\n"; - SetVersion ($DBversion); -} $DBversion = '3.03.00.033'; if (C4::Context->preference("Version") < TransformToNum($DBversion)) { @@ -4310,6 +4304,14 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) { SetVersion ($DBversion); } +$DBversion = "3.03.00.052"; +if (C4::Context->preference("Version") < TransformToNum($DBversion)) { + $dbh->do("INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('WaitingNotifyAtCheckin',0,'If ON, notify librarians of waiting holds for the patron whose items they are checking in.',NULL,'YesNo');"); + print "Upgrade to $DBversion done (Add syspref WaitingNotifyAtCheckin)\n"; + SetVersion ($DBversion); +} + + =head1 FUNCTIONS =head2 DropAllForeignKeys($table) diff --git a/kohaversion.pl b/kohaversion.pl index 83304597a1..af40670c7e 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.XXX'; + our $VERSION = '3.03.00.052'; # version needs to be set this way # so that it can be picked up by Makefile.PL # during install -- 2.39.5