summaryrefslogtreecommitdiffstats
path: root/Bugzilla/DB.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/DB.pm')
-rw-r--r--Bugzilla/DB.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/DB.pm b/Bugzilla/DB.pm
index 2706f1b40..71669b714 100644
--- a/Bugzilla/DB.pm
+++ b/Bugzilla/DB.pm
@@ -435,7 +435,8 @@ sub bz_add_column {
my @statements = $self->_bz_real_schema->get_add_column_ddl(
$table, $name, $new_def,
defined $init_value ? $self->quote($init_value) : undef);
- print "Adding new column $name to table $table ...\n";
+ print "Adding new column $name to table $table ...\n"
+ unless i_am_cgi();
foreach my $sql (@statements) {
$self->do($sql);
}