summaryrefslogtreecommitdiffstats
path: root/Bugzilla/FlagType.pm
diff options
context:
space:
mode:
authordkl%redhat.com <>2008-09-17 10:47:36 +0200
committerdkl%redhat.com <>2008-09-17 10:47:36 +0200
commita9acddbb45663924f9a1d8472ed07ab13d45c073 (patch)
treef6dd0348171ce1063c99ea15665c173b8b00bb3d /Bugzilla/FlagType.pm
parentdde670d3493e9f9eb722cd3b1b9337879e51144b (diff)
downloadbugzilla-a9acddbb45663924f9a1d8472ed07ab13d45c073.tar.gz
bugzilla-a9acddbb45663924f9a1d8472ed07ab13d45c073.tar.xz
Bug 455583 - Bugzilla::User::can_{set,request}_flag methods should use the respective {grant,request}_group_id values instead of loading new Group object
Patch by David Lawrence <dkl@redhat.com> - r/a=LpSolit
Diffstat (limited to 'Bugzilla/FlagType.pm')
-rw-r--r--Bugzilla/FlagType.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/Bugzilla/FlagType.pm b/Bugzilla/FlagType.pm
index ffa36863e..2892a8392 100644
--- a/Bugzilla/FlagType.pm
+++ b/Bugzilla/FlagType.pm
@@ -177,6 +177,8 @@ sub is_requestable { return $_[0]->{'is_requestable'}; }
sub is_requesteeble { return $_[0]->{'is_requesteeble'}; }
sub is_multiplicable { return $_[0]->{'is_multiplicable'}; }
sub sortkey { return $_[0]->{'sortkey'}; }
+sub request_group_id { return $_[0]->{'request_group_id'}; }
+sub grant_group_id { return $_[0]->{'grant_group_id'}; }
###############################
#### Methods ####