From: Frédéric Buclin Date: Tue, 19 Aug 2014 10:34:36 +0000 (+0200) Subject: Bug 1053802: Groups used for the comment_taggers_group and debug_group parameters... X-Git-Tag: bugzilla-4.5.6~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6cae1b669d427648bf129be14d713ab63b1899da;p=thirdparty%2Fbugzilla.git Bug 1053802: Groups used for the comment_taggers_group and debug_group parameters can be deleted r=sgreen a=glob --- diff --git a/Bugzilla/Group.pm b/Bugzilla/Group.pm index a750e353e2..07b78e3663 100644 --- a/Bugzilla/Group.pm +++ b/Bugzilla/Group.pm @@ -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 ###### diff --git a/editgroups.cgi b/editgroups.cgi index 2fd9f569a4..9c33a0ee3c 100755 --- a/editgroups.cgi +++ b/editgroups.cgi @@ -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; diff --git a/template/en/default/admin/groups/list.html.tmpl b/template/en/default/admin/groups/list.html.tmpl index 7a15703dfa..29e39f65fc 100644 --- a/template/en/default/admin/groups/list.html.tmpl +++ b/template/en/default/admin/groups/list.html.tmpl @@ -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 %]