From 1a31bccd63a58e451ab4afd091a2f68689504249 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Fri, 22 May 2009 13:35:39 -0500 Subject: [PATCH] fix DBrev messages in updatedatabase.pl 021 - added change description 034 - corrected change description Signed-off-by: Galen Charlton --- installer/data/mysql/updatedatabase.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 71340c15d0..09af52b202 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -2320,6 +2320,7 @@ $DBversion = "3.01.00.021"; if (C4::Context->preference("Version") < TransformToNum($DBversion)) { my $enable_reviews = C4::Context->preference('OPACAmazonEnabled') ? '1' : '0'; $dbh->do("INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('OPACAmazonReviews', '$enable_reviews', 'Display Amazon readers reviews on OPAC','','YesNo')"); + print "Upgrade to $DBversion done (adding OPACAmazonReviews syspref)\n"; SetVersion ($DBversion); } @@ -2433,7 +2434,7 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) { $DBversion = "3.01.00.034"; if (C4::Context->preference("Version") < TransformToNum($DBversion)) { $dbh->do("ALTER TABLE `subscription` ADD COLUMN `graceperiod` INT(11) NOT NULL default '0';"); - print "Upgrade to $DBversion done (Adding a field in issuingrules table)\n"; + print "Upgrade to $DBversion done (Adding graceperiod column to subscription table)\n"; SetVersion ($DBversion); } -- 2.39.5