From 88d1e1472857a3996e8704c738e89acd2294369d Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Tue, 17 Sep 2013 15:10:11 +0000 Subject: [PATCH] Bug 7639: DBRev 3.13.00.020 Signed-off-by: Galen Charlton --- 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 d274ef3e5e..31f494a922 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -7131,8 +7131,8 @@ if ( CheckVersion($DBversion) ) { } -$DBversion = "3.13.00.XXX"; -if (C4::Context->preference("Version") < TransformToNum($DBversion)) { +$DBversion = "3.13.00.020"; +if ( CheckVersion($DBversion) ) { $dbh->do("INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES('WhenLostForgiveFine','0',NULL,'If ON, Forgives the fines on an item when it is lost.','YesNo')"); $dbh->do("INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES('WhenLostChargeReplacementFee','1',NULL,'If ON, Charge the replacement price when a patron loses an item.','YesNo')"); print "Upgrade to $DBversion done (Bug 7639: system preferences to forgive fines on lost items)\n"; diff --git a/kohaversion.pl b/kohaversion.pl index bf8b2498b0..8040dc3bd6 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.13.00.019'; + our $VERSION = '3.13.00.020'; # version needs to be set this way # so that it can be picked up by Makefile.PL # during install -- 2.39.5