Commit e7282d67 authored by burnus%gmx.de's avatar burnus%gmx.de

Bug 190437 - showdependencytree.cgi and showdependencygraph should use switch_to_shadow_db

r=bbaetz a=justdave
parent 8f0598f4
......@@ -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;
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment