From: Niklas Laxström Date: Thu, 8 Dec 2011 08:51:21 +0000 (+0000) Subject: Gender is already needed in addResultToCache X-Git-Tag: 1.31.0-rc.0~26136 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/gestion/rappel_supprimer.php?a=commitdiff_plain;h=9f9242ce6f4160746b92dc3da4ba2b9b7f52202d;p=lhc%2Fweb%2Fwiklou.git Gender is already needed in addResultToCache --- diff --git a/includes/cache/LinkBatch.php b/includes/cache/LinkBatch.php index 9b19ef1686..17e8739bc9 100644 --- a/includes/cache/LinkBatch.php +++ b/includes/cache/LinkBatch.php @@ -104,8 +104,8 @@ class LinkBatch { protected function executeInto( &$cache ) { wfProfileIn( __METHOD__ ); $res = $this->doQuery(); - $ids = $this->addResultToCache( $cache, $res ); $this->doGenderQuery(); + $ids = $this->addResultToCache( $cache, $res ); wfProfileOut( __METHOD__ ); return $ids; }