From b83fe613f56dd3b9de99ed4857a48231192cb3a7 Mon Sep 17 00:00:00 2001 From: Jared Camins-Esakov Date: Fri, 14 Dec 2012 08:12:14 -0500 Subject: [PATCH] Bug 7067 follow-up: fix updatedatabase.pl formatting --- installer/data/mysql/updatedatabase.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index d74e3d9a51..0b6fa80e55 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -6182,7 +6182,7 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) { } $DBversion = '3.11.00.XXX'; -if (C4::Context->preference("Version") < TransformToNum($DBversion)) { +if (CheckVersion($DBversion)) { $dbh->do(" CREATE TABLE IF NOT EXISTS `borrower_modifications` ( `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, @@ -6281,7 +6281,7 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) { If you did not initiate this request, you may safely ignore this one-time message. The request will expire shortly.' )"); - print "Upgrade to $DBversion done (Add Patron Self Registration)\n"; + print "Upgrade to $DBversion done (Bug 7067: Add Patron Self Registration)\n"; SetVersion ($DBversion); } -- 2.39.5