* @throws MWException
*/
public function runTable( $params ) {
- $dbr = wfGetDB( DB_SLAVE );
+ $dbr = $this->getDB( DB_SLAVE );
if ( array_diff( array_keys( $params ),
array( 'table', 'conds', 'index', 'callback' ) )
return sprintf( "\\x%02x", ord( $matches[1] ) );
}
}
-