From b54625a0ef75f691220cdb319ea2eea3ec27e04a Mon Sep 17 00:00:00 2001 From: "bugreport%peshkin.net" <> Date: Wed, 4 Aug 2004 23:17:09 +0000 Subject: Bug 186093: Move CanSeeBug to User.pm and make User.pm usable by templates r=kiko a=justdave --- showdependencygraph.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'showdependencygraph.cgi') diff --git a/showdependencygraph.cgi b/showdependencygraph.cgi index b11562e1e..0d33d316d 100755 --- a/showdependencygraph.cgi +++ b/showdependencygraph.cgi @@ -170,7 +170,7 @@ foreach my $k (keys(%seen)) { $summary ||= ''; # Resolution and summary are shown only if user can see the bug - if (!CanSeeBug($k, $::userid)) { + if (!Bugzilla->user->can_see_bug($k)) { $resolution = $summary = ''; } -- cgit v1.2.1