diff options
author | travis%sedsystems.ca <> | 2005-01-13 00:39:10 +0000 |
---|---|---|
committer | travis%sedsystems.ca <> | 2005-01-13 00:39:10 +0000 |
commit | a037f115710a713258ed3cc0fe0c233076963315 (patch) | |
tree | dfb0b9c82595ec9bffd46df4a07a1cbef4624331 /checksetup.pl | |
parent | 16101ff8da5257bbb86f30ff9dae08369e5dcd09 (diff) | |
download | bugs-a037f115710a713258ed3cc0fe0c233076963315.tar bugs-a037f115710a713258ed3cc0fe0c233076963315.tar.gz bugs-a037f115710a713258ed3cc0fe0c233076963315.tar.bz2 bugs-a037f115710a713258ed3cc0fe0c233076963315.tar.xz bugs-a037f115710a713258ed3cc0fe0c233076963315.zip |
Bug 277571 : checksetup should not always output a message about checking for flags
Patch by Max K-A <mkanat@kerio.com> r=vladd a=justdave
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-x | checksetup.pl | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/checksetup.pl b/checksetup.pl index 8dba95104..f4835bb26 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -3886,8 +3886,6 @@ if (TableExists("attachstatuses") && TableExists("attachstatusdefs")) { # 2004-12-13 Nick.Barnes@pobox.com bug 262268 # Check flag type names for spaces and commas, and rename them. if (TableExists("flagtypes")) { - print "Checking flag type names for spaces and commas...\n" unless $silent; - # Get names and IDs which are broken. $sth = $dbh->prepare("SELECT name, id FROM flagtypes"); $sth->execute(); @@ -3902,6 +3900,7 @@ if (TableExists("flagtypes")) { } } if (@badflagnames) { + print "Removing spaces and commas from flag names...\n"; my ($flagname, $tryflagname); my $sth = $dbh->prepare("UPDATE flagtypes SET name = ? WHERE id = ?"); foreach $flagname (@badflagnames) { @@ -3926,8 +3925,6 @@ if (TableExists("flagtypes")) { delete $flagtypes{$flagname}; } print "... done.\n"; - } else { - print "... all flag type names are good.\n" unless $silent; } } |