From 8e40c2d017e684f8a5f0ac79cc0182176a5476bc Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Sun, 23 Aug 2009 10:16:41 -0400 Subject: [PATCH] bug 3493: DBrev 041->042 (added OPACFineNoRenewals) Also changed default value of OPACFineNoRenewals to 99999 when upgrading existing databases so that there's no (likely) sudden change in OPAC behavior. Signed-off-by: Galen Charlton --- installer/data/mysql/updatedatabase.pl | 2 +- kohaversion.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 6d4f665be4..e80e8600d5 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -2505,7 +2505,7 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) { $DBversion = '3.01.00.042'; if (C4::Context->preference("Version") < TransformToNum($DBversion)) { - $dbh->do("INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPACFineNoRenewals','100','Fine Limit above which user canmot renew books via OPAC','','Integer')"); + $dbh->do("INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPACFineNoRenewals','99999','Fine Limit above which user canmot renew books via OPAC','','Integer')"); SetVersion ($DBversion); print "Upgrade to $DBversion done (added OPACFineNoRenewals syspref)\n"; } diff --git a/kohaversion.pl b/kohaversion.pl index c9bdbb1759..5367044592 100644 --- a/kohaversion.pl +++ b/kohaversion.pl @@ -10,7 +10,7 @@ use strict; sub kohaversion { - our $VERSION = '3.01.00.041'; + our $VERSION = '3.01.00.042'; # version needs to be set this way # so that it can be picked up by Makefile.PL # during install -- 2.39.5