From 25c729a78a2db5eaeffde4736bc144dea78d9d6c Mon Sep 17 00:00:00 2001 From: Nicolas Dumazet Date: Sun, 6 Jul 2008 13:31:35 +0000 Subject: [PATCH] $dbr->select already returns a ResultWrapper, no need to re-wrap it :) --- includes/HTMLCacheUpdate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.20.1