From b2b03103bba9927d5f1b123e0ad7ae1e04149dc8 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sun, 25 Jan 2009 12:42:51 +0000 Subject: Bug 471880: More scripts should use the shadow DB instead of the master DB - Patch by Frédéric Buclin r=mkanat a=LpSolit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.cgi | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config.cgi') diff --git a/config.cgi b/config.cgi index c229dacd6..282b95957 100755 --- a/config.cgi +++ b/config.cgi @@ -46,6 +46,9 @@ if (Bugzilla->params->{'requirelogin'} && !$user->id) { display_data(); } +# Get data from the shadow DB as they don't change very often. +Bugzilla->switch_to_shadow_db; + # Pass a bunch of Bugzilla configuration to the templates. my $vars = {}; $vars->{'priority'} = get_legal_field_values('priority'); -- cgit v1.2.3-24-g4f1b