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 <gmcharlt@gmail.com>
This commit is contained in:
Galen Charlton 2009-08-01 09:56:51 -04:00
parent 7fa051d837
commit 23b63ff978

View file

@ -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);
}