From: Aaron Schulz Date: Sat, 26 Sep 2015 17:54:43 +0000 (-0700) Subject: Removed used of resultObject() in QueryPage X-Git-Tag: 1.31.0-rc.0~9789 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=0dbc4fc2e0c9c205367afa4943ff4cf58dbc7843;p=lhc%2Fweb%2Fwiklou.git Removed used of resultObject() in QueryPage Change-Id: I7aa6902a7e1a0c93e28b209de995976d5891cdfb --- diff --git a/includes/specialpage/QueryPage.php b/includes/specialpage/QueryPage.php index 3c8b74201b..bfb29ae836 100644 --- a/includes/specialpage/QueryPage.php +++ b/includes/specialpage/QueryPage.php @@ -450,14 +450,13 @@ abstract class QueryPage extends SpecialPage { } else { $options['ORDER BY'] = 'qc_value ASC'; } - $res = $dbr->select( 'querycache', array( 'qc_type', + return $dbr->select( 'querycache', array( 'qc_type', 'namespace' => 'qc_namespace', 'title' => 'qc_title', 'value' => 'qc_value' ), array( 'qc_type' => $this->getName() ), __METHOD__, $options ); - return $dbr->resultObject( $res ); } public function getCachedTimestamp() {