Bug 7639: DBRev 3.13.00.020
authorGalen Charlton <gmc@esilibrary.com>
Tue, 17 Sep 2013 15:10:11 +0000 (15:10 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 17 Sep 2013 15:22:33 +0000 (15:22 +0000)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
installer/data/mysql/updatedatabase.pl
kohaversion.pl

index d274ef3..31f494a 100755 (executable)
@@ -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";
index bf8b249..8040dc3 100644 (file)
@@ -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