From: Aaron Schulz Date: Fri, 10 Apr 2015 09:31:35 +0000 (-0700) Subject: Made QueryPage::preprocessResults also use the vslow group X-Git-Tag: 1.31.0-rc.0~11750^2 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/?a=commitdiff_plain;h=f57044aa87ff4126a4e7c3a147ca5de256d20922;p=lhc%2Fweb%2Fwiklou.git Made QueryPage::preprocessResults also use the vslow group Change-Id: If5893ef9e2a18684c8cd1ce1b6149742b392a3c3 --- diff --git a/includes/specialpage/QueryPage.php b/includes/specialpage/QueryPage.php index 1ff7e3fb98..da752f6a1c 100644 --- a/includes/specialpage/QueryPage.php +++ b/includes/specialpage/QueryPage.php @@ -527,7 +527,7 @@ abstract class QueryPage extends SpecialPage { $this->numRows = $res->numRows(); - $dbr = wfGetDB( DB_SLAVE ); + $dbr = $this->getRecacheDB(); $this->preprocessResults( $dbr, $res ); $out->addHTML( Xml::openElement( 'div', array( 'class' => 'mw-spcontent' ) ) );