summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Group.pm
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-07-14 20:52:46 +0200
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-07-14 20:52:46 +0200
commit1c2902ecbdaab493cb0a4a2fe3e46a2739c0d0fc (patch)
tree86e2f93ae38723e3eafca40e37b23b8a70af720d /Bugzilla/Group.pm
parent32b3964d567599b82019f9563fa732eced860223 (diff)
downloadbugzilla-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.pm7
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();