aboutsummaryrefslogtreecommitdiffstats
path: root/showdependencytree.cgi
diff options
context:
space:
mode:
authorKoosha Khajeh Moogahi <koosha.khajeh@gmail.com>2012-09-20 20:21:04 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2012-09-20 20:21:04 +0200
commit8bc92049518f57d645b1e3290667c21d502d0d56 (patch)
tree269bc7d2b60377a035d139062cbbb7e8935801e3 /showdependencytree.cgi
parentc658f1b025d74ae9b4c7716d81377b68a1cc5a52 (diff)
downloadbugs-8bc92049518f57d645b1e3290667c21d502d0d56.tar
bugs-8bc92049518f57d645b1e3290667c21d502d0d56.tar.gz
bugs-8bc92049518f57d645b1e3290667c21d502d0d56.tar.bz2
bugs-8bc92049518f57d645b1e3290667c21d502d0d56.tar.xz
bugs-8bc92049518f57d645b1e3290667c21d502d0d56.zip
Bug 450546: Use visible_bugs() where appropriate instead of/in combination with can_see_bug() to improve performance
r/a=LpSolit
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 4031ed263..f4d5e3785 100755
--- a/showdependencytree.cgi
+++ b/showdependencytree.cgi
@@ -95,7 +95,7 @@ sub GenerateTree {
# Record this depth in the global $realdepth variable if it's farther
# than we've gone before.
$realdepth = max($realdepth, $depth);
-
+ Bugzilla->user->visible_bugs(\@dependencies);
foreach my $dep_id (@dependencies) {
# Get this dependency's record from the database and generate
# its sub-tree if we haven't already done so (which happens