X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FSpecialUncategorizedpages.php;h=b26f6d93e4649dabcfdddac83ec93f98dcf10a06;hb=08aec83eb97be75b0fc9bdff67f3652c33ef1cbc;hp=f42a6f74daecfee0ddaf9b840cc8e1c40da6c5b0;hpb=4ff45a89d0bf566b8dcf247842e9669f3dbe0ffd;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/SpecialUncategorizedpages.php b/includes/SpecialUncategorizedpages.php index f42a6f74da..b26f6d93e4 100644 --- a/includes/SpecialUncategorizedpages.php +++ b/includes/SpecialUncategorizedpages.php @@ -1,19 +1,12 @@ tableNames( 'page', 'categorylinks' ) ); + $dbr = wfGetDB( DB_SLAVE ); + list( $page, $categorylinks ) = $dbr->tableNamesN( 'page', 'categorylinks' ); $name = $dbr->addQuotes( $this->getName() ); return @@ -61,4 +54,4 @@ function wfSpecialUncategorizedpages() { return $lpp->doQuery( $offset, $limit ); } -?> +