From ef72be48e02a3f6b4e4e77a8fe1e7b39f34c293d Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" Date: Thu, 8 Jul 2010 18:18:29 +0000 Subject: [PATCH] Bug 577520: Make the "Adding new table..." message not appear during xt/search.t r=mkanat, a=mkanat (module owner) git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@260675 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/.bzrrev | 2 +- mozilla/webtools/bugzilla/Bugzilla/DB.pm | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/mozilla/webtools/bugzilla/.bzrrev b/mozilla/webtools/bugzilla/.bzrrev index 0c3fdca90b6..64bfa349ad0 100644 --- a/mozilla/webtools/bugzilla/.bzrrev +++ b/mozilla/webtools/bugzilla/.bzrrev @@ -1 +1 @@ -7295 \ No newline at end of file +7296 \ No newline at end of file diff --git a/mozilla/webtools/bugzilla/Bugzilla/DB.pm b/mozilla/webtools/bugzilla/Bugzilla/DB.pm index 7173ff89618..de688e6fc0b 100644 --- a/mozilla/webtools/bugzilla/Bugzilla/DB.pm +++ b/mozilla/webtools/bugzilla/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); }