From: Frédéric Buclin Date: Tue, 19 Aug 2014 10:36:52 +0000 (+0200) Subject: Bug 1053802: Groups used for the comment_taggers_group and debug_group parameters... X-Git-Tag: bugzilla-4.4.6~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=234328faa2addfab44132c2cb4e6f9559c891911;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 04c36f6944..5404dec7e8 100644 --- a/Bugzilla/Group.pm +++ b/Bugzilla/Group.pm @@ -53,7 +53,7 @@ use constant UPDATE_COLUMNS => qw( # Parameters that are lists of groups. use constant GROUP_PARAMS => qw(chartgroup insidergroup timetrackinggroup - querysharegroup); + querysharegroup debug_group); ############################### #### Accessors ###### diff --git a/editgroups.cgi b/editgroups.cgi index d603ab1834..51f9087720 100755 --- a/editgroups.cgi +++ b/editgroups.cgi @@ -19,9 +19,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 af7da33a67..859f26205d 100644 --- a/template/en/default/admin/groups/list.html.tmpl +++ b/template/en/default/admin/groups/list.html.tmpl @@ -74,7 +74,8 @@ } %] -[% FOREACH group IN ["chartgroup", "insidergroup", "timetrackinggroup", "querysharegroup"] %] +[% FOREACH group IN ["chartgroup", "insidergroup", "timetrackinggroup", + "querysharegroup", "debug_group"] %] [% special_group = Param(group) %] [% IF special_group %]