X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FCategory.php;h=c22ea64abf8c398a204c1035327e7e0cef3e3cfb;hb=fb4821adfc3ab95d9c5c0be1162139f99bfebf6c;hp=5c7cb8d7bacfa9f4dbbe2352db1665ab7a2be09f;hpb=8912ea42aab73d798a2f690449a42473a7530426;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Category.php b/includes/Category.php index 5c7cb8d7ba..c22ea64abf 100644 --- a/includes/Category.php +++ b/includes/Category.php @@ -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' ];