diff options
-rw-r--r-- | Bugzilla/DB.pm | 3 |
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); } |