From b2b03103bba9927d5f1b123e0ad7ae1e04149dc8 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sun, 25 Jan 2009 12:42:51 +0000 Subject: =?UTF-8?q?Bug=20471880:=20More=20scripts=20should=20use=20the=20s?= =?UTF-8?q?hadow=20DB=20instead=20of=20the=20master=20DB=20-=20Patch=20by?= =?UTF-8?q?=20Fr=C3=83=C2=A9d=C3=83=C2=A9ric=20Buclin=20=20r=3Dmkanat=20a=3DLpSolit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- describekeywords.cgi | 3 +++ 1 file changed, 3 insertions(+) (limited to 'describekeywords.cgi') diff --git a/describekeywords.cgi b/describekeywords.cgi index 5ff5c5089..9796b77d5 100755 --- a/describekeywords.cgi +++ b/describekeywords.cgi @@ -35,6 +35,9 @@ my $cgi = Bugzilla->cgi; my $template = Bugzilla->template; my $vars = {}; +# Run queries against the shadow DB. +Bugzilla->switch_to_shadow_db; + $vars->{'keywords'} = Bugzilla::Keyword->get_all_with_bug_count(); $vars->{'caneditkeywords'} = Bugzilla->user->in_group("editkeywords"); -- cgit v1.2.1