From bca1de8c9aa0f2a8cf05a483a5b416503c5f362e Mon Sep 17 00:00:00 2001 From: Paul Poulain Date: Fri, 10 Feb 2012 19:43:54 +0100 Subject: [PATCH] Bug 7090 follow-up, setting DBrev number when pushing --- installer/data/mysql/updatedatabase.pl | 5 +++-- kohaversion.pl | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 05b664e529..d4ac31d7ba 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -4663,9 +4663,10 @@ ENDOFRENEWAL print "Upgrade to $DBversion done (Added a system preference to allow renewal of Patron account either from todays date or from existing expiry date in the patrons account.)\n"; SetVersion($DBversion); } -$DBversion = "3.07.00.XXX"; + +$DBversion = "3.07.00.012"; if (C4::Context->preference("Version") < TransformToNum($DBversion)) { - $dbh->do("INSERT INTO `systempreferences` (variable,value,options,explanation,type) VALUES ('AllowItemsOnHoldCheckout',0,'Do not generate RESERVE_WAITING and RESERVED warning when checking out items reserved to someone else. This allows self checkouts for those items.','','YesNo')"); + $dbh->do("INSERT INTO `systempreferences` (variable,value,options,explanation,type) VALUES ('AllowItemsOnHoldCheckout',0,'Do not generate RESERVE_WAITING and RESERVED warning when checking out items reserved to someone else. This allows self checkouts for those items.','','YesNo')"); print "Upgrade to $DBversion add 'AllowItemsOnHoldCheckout' syspref \n"; SetVersion ($DBversion); } diff --git a/kohaversion.pl b/kohaversion.pl index c6379f02ec..bb5dfe5657 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.07.00.011'; + our $VERSION = '3.07.00.012'; # version needs to be set this way # so that it can be picked up by Makefile.PL # during install -- 2.39.5