Bug 190437 - showdependencytree.cgi and showdependencygraph should use switch_to_shadow_db

r=bbaetz
a=justdave


git-svn-id: svn://10.0.0.236/trunk@136934 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
burnus%gmx.de
2003-01-24 10:59:08 +00:00
parent aecca43ab8
commit ee019123d0
2 changed files with 8 additions and 0 deletions

View File

@@ -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;

View File

@@ -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;