aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortravis%sedsystems.ca <>2005-01-13 00:38:35 +0000
committertravis%sedsystems.ca <>2005-01-13 00:38:35 +0000
commita2e5984c76fdb288c1c2bec4ab65d7be8bf71006 (patch)
treec9926f7d3cc86dd716ec407af75b55202ffc9002
parentBug 276473: Show_activity merges incorrectly sometimes changesets into one ch... (diff)
downloadbugzilla-a2e5984c76fdb288c1c2bec4ab65d7be8bf71006.tar.gz
bugzilla-a2e5984c76fdb288c1c2bec4ab65d7be8bf71006.tar.bz2
bugzilla-a2e5984c76fdb288c1c2bec4ab65d7be8bf71006.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
-rwxr-xr-xchecksetup.pl5
1 files changed, 1 insertions, 4 deletions
diff --git a/checksetup.pl b/checksetup.pl
index 60620f329..38dc06497 100755
--- a/checksetup.pl
+++ b/checksetup.pl
@@ -3753,8 +3753,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();
@@ -3769,6 +3767,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) {
@@ -3793,8 +3792,6 @@ if (TableExists("flagtypes")) {
delete $flagtypes{$flagname};
}
print "... done.\n";
- } else {
- print "... all flag type names are good.\n" unless $silent;
}
}