From 0dbc4fc2e0c9c205367afa4943ff4cf58dbc7843 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sat, 26 Sep 2015 10:54:43 -0700 Subject: [PATCH] Removed used of resultObject() in QueryPage Change-Id: I7aa6902a7e1a0c93e28b209de995976d5891cdfb --- includes/specialpage/QueryPage.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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() { -- 2.20.1