Bug 1053802: Groups used for the comment_taggers_group and debug_group parameters can be deleted

r=sgreen a=glob


git-svn-id: svn://10.0.0.236/trunk@265502 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzrmirror%bugzilla.org 2014-08-19 10:45:48 +00:00
parent 9d66c3c8ec
commit ee4cd905ac
5 changed files with 8 additions and 8 deletions

View File

@ -1 +1 @@
9112
9113

View File

@ -1 +1 @@
c8c1e1984247d1f8d61b90fe4b772240f4fb7977
6cae1b669d427648bf129be14d713ab63b1899da

View File

@ -56,8 +56,10 @@ use constant UPDATE_COLUMNS => qw(
);
# Parameters that are lists of groups.
use constant GROUP_PARAMS => qw(chartgroup insidergroup timetrackinggroup
querysharegroup);
use constant GROUP_PARAMS => qw(
chartgroup comment_taggers_group debug_group insidergroup
querysharegroup timetrackinggroup
);
###############################
#### Accessors ######

View File

@ -22,9 +22,6 @@ use Bugzilla::Product;
use Bugzilla::User;
use Bugzilla::Token;
use constant SPECIAL_GROUPS => ('chartgroup', 'insidergroup',
'timetrackinggroup', 'querysharegroup');
my $cgi = Bugzilla->cgi;
my $dbh = Bugzilla->dbh;
my $template = Bugzilla->template;

View File

@ -75,7 +75,8 @@
}
%]
[% FOREACH group IN ["chartgroup", "insidergroup", "timetrackinggroup", "querysharegroup"] %]
[% FOREACH group IN ["chartgroup", "comment_taggers_group", "debug_group",
"insidergroup", "querysharegroup", "timetrackinggroup"] %]
[% special_group = Param(group) %]
[% IF special_group %]