From e7282d675f4d0080a34d1765b31b806c8ce1140b Mon Sep 17 00:00:00 2001 From: "burnus%gmx.de" <> Date: Fri, 24 Jan 2003 18:59:05 +0000 Subject: Bug 190437 - showdependencytree.cgi and showdependencygraph should use switch_to_shadow_db r=bbaetz a=justdave --- showdependencygraph.cgi | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'showdependencygraph.cgi') 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; -- cgit v1.2.3-24-g4f1b