summaryrefslogtreecommitdiffstats
path: root/userprefs.cgi
diff options
context:
space:
mode:
authormkanat%kerio.com <>2005-02-25 12:07:05 +0100
committermkanat%kerio.com <>2005-02-25 12:07:05 +0100
commitdedbe7d00c18c44bfe3ddd9cda8171e6ba599a89 (patch)
tree5e04ee2e2da860b55bebbcc1463222256d57197f /userprefs.cgi
parentbd2fa9ea77fb4097565ffbe1f6425598c6f8f31e (diff)
downloadbugzilla-dedbe7d00c18c44bfe3ddd9cda8171e6ba599a89.tar.gz
bugzilla-dedbe7d00c18c44bfe3ddd9cda8171e6ba599a89.tar.xz
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});
}
}