aboutsummaryrefslogtreecommitdiffstats
path: root/showdependencytree.cgi
diff options
context:
space:
mode:
authorbugreport%peshkin.net <>2004-08-04 23:17:09 +0000
committerbugreport%peshkin.net <>2004-08-04 23:17:09 +0000
commitb54625a0ef75f691220cdb319ea2eea3ec27e04a (patch)
tree7f70ef296d34cb34c4d7b1017351253e7e1f8dc8 /showdependencytree.cgi
parent50e28bb8a4d457bf63f477b44df06adb22a71b59 (diff)
downloadbugs-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 'showdependencytree.cgi')
-rwxr-xr-xshowdependencytree.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/showdependencytree.cgi b/showdependencytree.cgi
index 202043acd..f1a495a6d 100755
--- a/showdependencytree.cgi
+++ b/showdependencytree.cgi
@@ -146,7 +146,7 @@ sub GetBug {
my ($id) = @_;
my $bug = {};
- if (CanSeeBug($id, $::userid)) {
+ if (Bugzilla->user->can_see_bug($id)) {
SendSQL("SELECT 1,
bug_status,
short_desc,