summaryrefslogtreecommitdiffstats
path: root/showdependencytree.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'showdependencytree.cgi')
-rwxr-xr-xshowdependencytree.cgi4
1 files changed, 4 insertions, 0 deletions
diff --git a/showdependencytree.cgi b/showdependencytree.cgi
index 0508f078b..e246d5c8d 100755
--- a/showdependencytree.cgi
+++ b/showdependencytree.cgi
@@ -37,6 +37,10 @@ ConnectToDatabase();
quietly_check_login();
+# Connect to the shadow database if this installation is using one to improve
+# performance.
+Bugzilla->instance->switch_to_shadow_db();
+
# More warning suppression silliness.
$::userid = $::userid;