]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 190437 - showdependencytree.cgi and showdependencygraph should use switch_to_shad...
authorburnus%gmx.de <>
Fri, 24 Jan 2003 18:59:05 +0000 (18:59 +0000)
committerburnus%gmx.de <>
Fri, 24 Jan 2003 18:59:05 +0000 (18:59 +0000)
r=bbaetz
a=justdave

showdependencygraph.cgi
showdependencytree.cgi

index c05911ee29b523998a6a1e6488caf7075776cb90..24d0cdfa573a5fc6e5b976ed56b340ae25eef838 100755 (executable)
@@ -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;
index 0508f078bf11f8038587c32a2301a641f4be3364..e246d5c8d7d38f6eca1f8288c583275c8dbc292b 100755 (executable)
@@ -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;