Commit 6cae1b66 authored by Frédéric Buclin's avatar Frédéric Buclin

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

r=sgreen a=glob
parent c8c1e198
......@@ -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 ######
......
......@@ -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;
......
......@@ -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 %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment