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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user