summaryrefslogtreecommitdiffstats
path: root/showdependencygraph.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'showdependencygraph.cgi')
-rwxr-xr-xshowdependencygraph.cgi4
1 files changed, 4 insertions, 0 deletions
diff --git a/showdependencygraph.cgi b/showdependencygraph.cgi
index c05911ee2..24d0cdfa5 100755
--- a/showdependencygraph.cgi
+++ b/showdependencygraph.cgi
@@ -31,6 +31,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();
+
use vars qw($template $vars $userid);
my %seen;