aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormkanat%kerio.com <>2005-02-25 11:07:05 +0000
committermkanat%kerio.com <>2005-02-25 11:07:05 +0000
commitdedbe7d00c18c44bfe3ddd9cda8171e6ba599a89 (patch)
tree5e04ee2e2da860b55bebbcc1463222256d57197f /userprefs.cgi
parentBug 282074: Software error instead of Bugzilla's "Internal Error" Message (diff)
downloadbugzilla-dedbe7d00c18c44bfe3ddd9cda8171e6ba599a89.tar.gz
bugzilla-dedbe7d00c18c44bfe3ddd9cda8171e6ba599a89.tar.bz2
bugzilla-dedbe7d00c18c44bfe3ddd9cda8171e6ba599a89.zip
Bug 279693: Move UserCanBlessGroup() into a Bugzilla::User function
Patch By Max Kanat-Alexander <mkanat@kerio.com> r=LpSolit, a=myk
Diffstat (limited to 'userprefs.cgi')
-rwxr-xr-xuserprefs.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/userprefs.cgi b/userprefs.cgi
index 974791d52..342df065b 100755
--- a/userprefs.cgi
+++ b/userprefs.cgi
@@ -282,7 +282,7 @@ sub DoPermissions {
"ORDER BY name");
while (MoreSQLData()) {
my ($nam, $desc) = FetchSQLData();
- if (UserCanBlessGroup($nam)) {
+ if (Bugzilla->user->can_bless($nam)) {
push(@set_bits, {"desc" => $desc, "name" => $nam});
}
}