diff options
author | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-07-14 20:52:46 +0200 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-07-14 20:52:46 +0200 |
commit | 1c2902ecbdaab493cb0a4a2fe3e46a2739c0d0fc (patch) | |
tree | 86e2f93ae38723e3eafca40e37b23b8a70af720d /Bugzilla/Group.pm | |
parent | 32b3964d567599b82019f9563fa732eced860223 (diff) | |
download | bugzilla-1c2902ecbdaab493cb0a4a2fe3e46a2739c0d0fc.tar.gz bugzilla-1c2902ecbdaab493cb0a4a2fe3e46a2739c0d0fc.tar.xz |
Bug 578587: Make checksetup be way quieter when creating a new install
r=mkanat, a=mkanat (module owner)
Diffstat (limited to 'Bugzilla/Group.pm')
-rw-r--r-- | Bugzilla/Group.pm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Bugzilla/Group.pm b/Bugzilla/Group.pm index a8786034b..eef0a70cd 100644 --- a/Bugzilla/Group.pm +++ b/Bugzilla/Group.pm @@ -389,8 +389,11 @@ sub create { my ($params) = @_; my $dbh = Bugzilla->dbh; - print get_text('install_group_create', { name => $params->{name} }) . "\n" - if Bugzilla->usage_mode == USAGE_MODE_CMDLINE; + my $silently = delete $params->{silently}; + if (Bugzilla->usage_mode == USAGE_MODE_CMDLINE and !$silently) { + print get_text('install_group_create', { name => $params->{name} }), + "\n"; + } $dbh->bz_start_transaction(); |