diff options
author | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-03-18 14:55:14 +0100 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-03-18 14:55:14 +0100 |
commit | 7ff5e333473f712dadd2cecb80e1a0f431a29879 (patch) | |
tree | e15828156e99b535c8e45296aeb23dc8b109bbb0 /config.cgi | |
parent | bec7e429a56f4ff744df2726192683363a8d2835 (diff) | |
download | bugzilla-7ff5e333473f712dadd2cecb80e1a0f431a29879.tar.gz bugzilla-7ff5e333473f712dadd2cecb80e1a0f431a29879.tar.xz |
Bug 553267: Allow specifying that you don't want flag data, for config.cgi
r=gerv, a=mkanat
Diffstat (limited to 'config.cgi')
-rwxr-xr-x | config.cgi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/config.cgi b/config.cgi index 658f04d39..2e1746ac2 100755 --- a/config.cgi +++ b/config.cgi @@ -83,6 +83,15 @@ if ($cgi->param('product')) { Bugzilla::Product::preload($vars->{'products'}); +# Allow consumers to specify whether or not they want flag data. +if (defined $cgi->param('flags')) { + $vars->{'show_flags'} = $cgi->param('flags'); +} +else { + # We default to sending flag data. + $vars->{'show_flags'} = 1; +} + # Create separate lists of open versus resolved statuses. This should really # be made part of the configuration. my @open_status; |