aboutsummaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-07-08 11:02:38 -0700
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-07-08 11:02:38 -0700
commit0e8eb4037e3931e408aeb98f2ed5760710c961a2 (patch)
tree05444d713f39bbdc8f54cebc339f8da2978cd2a2 /Bugzilla
parent3c61e66fe3d24f183628a7396a3fcd720a95abeb (diff)
downloadbugs-0e8eb4037e3931e408aeb98f2ed5760710c961a2.tar
bugs-0e8eb4037e3931e408aeb98f2ed5760710c961a2.tar.gz
bugs-0e8eb4037e3931e408aeb98f2ed5760710c961a2.tar.bz2
bugs-0e8eb4037e3931e408aeb98f2ed5760710c961a2.tar.xz
bugs-0e8eb4037e3931e408aeb98f2ed5760710c961a2.zip
Bug 577520: Make the "Adding new table..." message not appear during
xt/search.t r=mkanat, a=mkanat (module owner)
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/DB.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/DB.pm b/Bugzilla/DB.pm
index 7173ff896..de688e6fc 100644
--- a/Bugzilla/DB.pm
+++ b/Bugzilla/DB.pm
@@ -688,7 +688,8 @@ sub bz_add_table {
sub _bz_add_table_raw {
my ($self, $name) = @_;
my @statements = $self->_bz_schema->get_table_ddl($name);
- print "Adding new table $name ...\n" unless i_am_cgi();
+ print "Adding new table $name ...\n"
+ if Bugzilla->usage_mode == USAGE_MODE_CMDLINE;
$self->do($_) foreach (@statements);
}