X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2FCategory.php;h=629962d2a95fe123a89955d1f70b711829ba04b9;hp=5c7cb8d7bacfa9f4dbbe2352db1665ab7a2be09f;hb=51fb1e29a0276bee59c57715d1a998c87593ee67;hpb=8912ea42aab73d798a2f690449a42473a7530426 diff --git a/includes/Category.php b/includes/Category.php index 5c7cb8d7ba..629962d2a9 100644 --- a/includes/Category.php +++ b/includes/Category.php @@ -48,7 +48,7 @@ class Category { /** * Set up all member variables using a database query. - * @param integer $mode + * @param int $mode * @throws MWException * @return bool True on success, false on failure. */ @@ -269,7 +269,6 @@ class Category { * @return TitleArray TitleArray object for category members. */ public function getMembers( $limit = false, $offset = '' ) { - $dbr = wfGetDB( DB_REPLICA ); $conds = [ 'cl_to' => $this->getName(), 'cl_from = page_id' ];