зеркало из https://github.com/mozilla/gecko-dev.git
Bug 190437 - showdependencytree.cgi and showdependencygraph should use switch_to_shadow_db
r=bbaetz a=justdave
This commit is contained in:
Родитель
cec41a4834
Коммит
e358f55fce
|
@ -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;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче