From 7ff5e333473f712dadd2cecb80e1a0f431a29879 Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Thu, 18 Mar 2010 06:55:14 -0700 Subject: Bug 553267: Allow specifying that you don't want flag data, for config.cgi r=gerv, a=mkanat --- config.cgi | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'config.cgi') 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; -- cgit v1.2.3-24-g4f1b