From 23b63ff978bdf6589e88f5152de6016aa725a465 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Sat, 1 Aug 2009 09:56:51 -0400 Subject: [PATCH] bug 3440 followup: tweak updatedatabase.pl [1] Removed POD: not a bad idea, but if we do it, there should be more substance to the messages [2] Improved description of change [3] Removed extra 'my' qualifier. Signed-off-by: Galen Charlton --- installer/data/mysql/updatedatabase.pl | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index ea126f8e5b..d6ccd0a52d 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -2467,13 +2467,7 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) { print "Upgrade to $DBversion done (added FilterBeforeOverdueReport syspref and new index on authorised_values)\n"; } -=item - - Deal with branches - -=cut - -my $DBversion = "3.01.00.038"; +$DBversion = "3.01.00.038"; if (C4::Context->preference("Version") < TransformToNum($DBversion)) { # update branches table # @@ -2482,7 +2476,7 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) { $dbh->do("ALTER TABLE branches ADD `branchcountry` text AFTER `branchcity`"); $dbh->do("ALTER TABLE branches ADD `branchurl` mediumtext AFTER `branchemail`"); $dbh->do("ALTER TABLE branches ADD `branchnotes` mediumtext AFTER `branchprinter`"); - print "Upgrade to $DBversion done (branches)\n"; + print "Upgrade to $DBversion done (add ZIP, city, country, URL, and notes column to branches)\n"; SetVersion ($DBversion); } -- 2.39.2