diff options
author | lpsolit%gmail.com <> | 2009-01-25 13:42:51 +0100 |
---|---|---|
committer | lpsolit%gmail.com <> | 2009-01-25 13:42:51 +0100 |
commit | b2b03103bba9927d5f1b123e0ad7ae1e04149dc8 (patch) | |
tree | e4845cde1af1ada8ca0d43e8c42be6d589e9a936 /describekeywords.cgi | |
parent | 812ad9b3515aff6d9d870c2a11845b7416e40288 (diff) | |
download | bugzilla-b2b03103bba9927d5f1b123e0ad7ae1e04149dc8.tar.gz bugzilla-b2b03103bba9927d5f1b123e0ad7ae1e04149dc8.tar.xz |
Bug 471880: More scripts should use the shadow DB instead of the master DB - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=LpSolit
Diffstat (limited to 'describekeywords.cgi')
-rwxr-xr-x | describekeywords.cgi | 3 |
1 files changed, 3 insertions, 0 deletions
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"); |