From: Nicolas Dumazet Date: Sun, 6 Jul 2008 13:31:35 +0000 (+0000) Subject: $dbr->select already returns a ResultWrapper, no need to re-wrap it :) X-Git-Tag: 1.31.0-rc.0~46697 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=25c729a78a2db5eaeffde4736bc144dea78d9d6c;p=lhc%2Fweb%2Fwiklou.git $dbr->select already returns a ResultWrapper, no need to re-wrap it :) --- diff --git a/includes/HTMLCacheUpdate.php b/includes/HTMLCacheUpdate.php index 7de2cb636a..1f250214bf 100644 --- a/includes/HTMLCacheUpdate.php +++ b/includes/HTMLCacheUpdate.php @@ -218,7 +218,7 @@ class HTMLCacheUpdateJob extends Job { $dbr = wfGetDB( DB_SLAVE ); $res = $dbr->select( $this->table, $fromField, $conds, __METHOD__ ); - $update->invalidateIDs( new ResultWrapper( $dbr, $res ) ); + $update->invalidateIDs( $res ); return true; }