X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FCategory.php;h=629962d2a95fe123a89955d1f70b711829ba04b9;hb=41690888a2919b3fb89c715c364d21d8965c8b26;hp=5c7cb8d7bacfa9f4dbbe2352db1665ab7a2be09f;hpb=a2254d32bf816c28f2a3fb4088b5e4356cff4c48;p=lhc%2Fweb%2Fwiklou.git 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' ];