summaryrefslogtreecommitdiffstats
path: root/editgroups.cgi
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2006-07-04 06:26:20 +0200
committermkanat%bugzilla.org <>2006-07-04 06:26:20 +0200
commitb1f4cf8bdc4b49c02ebebbee2553202bc46ab720 (patch)
tree8dddf198fa0cb29b5cef3833ff3469f07d34fdf7 /editgroups.cgi
parent49979b3775108f709cefbc9190eb9c7546aace94 (diff)
downloadbugzilla-b1f4cf8bdc4b49c02ebebbee2553202bc46ab720.tar.gz
bugzilla-b1f4cf8bdc4b49c02ebebbee2553202bc46ab720.tar.xz
Bug 342869: Use Bugzilla->params everywhere except templates
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=justdave
Diffstat (limited to 'editgroups.cgi')
-rwxr-xr-xeditgroups.cgi8
1 files changed, 4 insertions, 4 deletions
diff --git a/editgroups.cgi b/editgroups.cgi
index 7bc712b68..f511a68a6 100755
--- a/editgroups.cgi
+++ b/editgroups.cgi
@@ -342,7 +342,7 @@ if ($action eq 'del') {
# Groups having a special role cannot be deleted.
my @special_groups;
foreach my $special_group ('chartgroup', 'insidergroup', 'timetrackinggroup') {
- if ($name eq Param($special_group)) {
+ if ($name eq Bugzilla->params->{$special_group}) {
push(@special_groups, $special_group);
}
}
@@ -406,7 +406,7 @@ if ($action eq 'delete') {
# Groups having a special role cannot be deleted.
my @special_groups;
foreach my $special_group ('chartgroup', 'insidergroup', 'timetrackinggroup') {
- if ($name eq Param($special_group)) {
+ if ($name eq Bugzilla->params->{$special_group}) {
push(@special_groups, $special_group);
}
}
@@ -625,7 +625,7 @@ sub doGroupChanges {
# these parameters too.
my $update_params = 0;
foreach my $group ('chartgroup', 'insidergroup', 'timetrackinggroup') {
- if ($cgi->param('oldname') eq Param($group)) {
+ if ($cgi->param('oldname') eq Bugzilla->params->{$group}) {
SetParam($group, $name);
$update_params = 1;
}
@@ -690,7 +690,7 @@ sub doGroupChanges {
}
my $cansee = $cgi->param("cansee-$v") || 0;
- if (Param("usevisibilitygroups")
+ if (Bugzilla->params->{"usevisibilitygroups"}
&& ($cgi->param("oldcansee-$v") != $cansee)) {
$chgs = 1;
if ($cansee != 0) {