Commit fcb6d45d authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 349363: DB::bz_add_column() shouldn't print anything when called from…

Bug 349363: DB::bz_add_column() shouldn't print anything when called from editfields.cgi - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=myk
parent 1271f8d9
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment