From 46c78a8c7c42bfdf47ee1f68939aa122371b9662 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Mon, 8 May 2006 02:56:04 +0000 Subject: Bug 332521: Remove GroupIdToName() from globals.pl - Patch by Frédéric Buclin r=mkanat a=myk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bugzilla/Flag.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Bugzilla/Flag.pm') diff --git a/Bugzilla/Flag.pm b/Bugzilla/Flag.pm index 97d8e8c7c..9d55fcf33 100644 --- a/Bugzilla/Flag.pm +++ b/Bugzilla/Flag.pm @@ -374,12 +374,12 @@ sub validate { # and can rerequest set flags. next if (($status eq 'X' || $status eq '?') && (!$flag->{type}->{request_gid} - || $user->in_group(&::GroupIdToName($flag->{type}->{request_gid})))); + || $user->in_group_id($flag->{type}->{request_gid}))); # - User in the $grant_gid group can set/clear flags, # including "+" and "-" next if (!$flag->{type}->{grant_gid} - || $user->in_group(&::GroupIdToName($flag->{type}->{grant_gid}))); + || $user->in_group_id($flag->{type}->{grant_gid})); # - Any other flag modification is denied ThrowUserError("flag_update_denied", -- cgit v1.2.3-24-g4f1b