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 <gmcharlt@gmail.com>
This commit is contained in:
Galen Charlton 2009-08-23 10:16:41 -04:00
parent f8a43317b1
commit 8e40c2d017
2 changed files with 2 additions and 2 deletions

View file

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

View file

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