[Koha-patches] [PATCH] DBrev 018 -> 019

Galen Charlton galen.charlton at liblime.com
Thu Apr 23 21:55:00 CEST 2009


Also corrected message upon addition of new
OPACShowCheckoutName syspref.
---
 installer/data/mysql/updatedatabase.pl |    3 ++-
 kohaversion.pl                         |    2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl
index 9d47986..f99fcaa 100755
--- a/installer/data/mysql/updatedatabase.pl
+++ b/installer/data/mysql/updatedatabase.pl
@@ -2302,10 +2302,11 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
     print "Upgrade to $DBversion done (added deletedborrowers.smsalertnumber, missed in 3.00.00.091)\n";
     SetVersion ($DBversion);
 }
+
 $DBversion = "3.01.00.019";
 if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
         $dbh->do("INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPACShowCheckoutName','0','Displays in the OPAC the name of patron who has checked out the material. WARNING: Most sites should leave this off. It is intended for corporate or special sites which need to track who has the item.','','YesNo')");
-    print "Upgrade to $DBversion done (adding ReservesNeedReturns systempref, in circulation)\n";
+    print "Upgrade to $DBversion done (adding OPACShowCheckoutName systempref)\n";
     SetVersion ($DBversion);
 }
 
diff --git a/kohaversion.pl b/kohaversion.pl
index c9d8661..33963cd 100644
--- a/kohaversion.pl
+++ b/kohaversion.pl
@@ -10,7 +10,7 @@
 use strict;
 
 sub kohaversion {
-    our $VERSION = '3.01.00.018';
+    our $VERSION = '3.01.00.019';
     # version needs to be set this way
     # so that it can be picked up by Makefile.PL
     # during install
-- 
1.5.6.5




More information about the Koha-patches mailing list