diff options
author | bugreport%peshkin.net <> | 2004-08-04 23:17:09 +0000 |
---|---|---|
committer | bugreport%peshkin.net <> | 2004-08-04 23:17:09 +0000 |
commit | b54625a0ef75f691220cdb319ea2eea3ec27e04a (patch) | |
tree | 7f70ef296d34cb34c4d7b1017351253e7e1f8dc8 /Bugzilla/FlagType.pm | |
parent | 50e28bb8a4d457bf63f477b44df06adb22a71b59 (diff) | |
download | bugs-b54625a0ef75f691220cdb319ea2eea3ec27e04a.tar bugs-b54625a0ef75f691220cdb319ea2eea3ec27e04a.tar.gz bugs-b54625a0ef75f691220cdb319ea2eea3ec27e04a.tar.bz2 bugs-b54625a0ef75f691220cdb319ea2eea3ec27e04a.tar.xz bugs-b54625a0ef75f691220cdb319ea2eea3ec27e04a.zip |
Bug 186093: Move CanSeeBug to User.pm and make User.pm usable by templates
r=kiko
a=justdave
Diffstat (limited to 'Bugzilla/FlagType.pm')
-rw-r--r-- | Bugzilla/FlagType.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/FlagType.pm b/Bugzilla/FlagType.pm index f1cb00c5d..687a01768 100644 --- a/Bugzilla/FlagType.pm +++ b/Bugzilla/FlagType.pm @@ -226,7 +226,7 @@ sub validate { my $requestee = Bugzilla::User->new_from_login($requestee_email); # Throw an error if the user can't see the bug. - if (!&::CanSeeBug($bug_id, $requestee->id)) + if (!$requestee->can_see_bug($bug_id)) { ThrowUserError("flag_requestee_unauthorized", { flag_type => $flag_type, |