r90436 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90435‎ | r90436 | r90437 >
Date:07:45, 20 June 2011
Author:ialex
Status:ok
Tags:
Comment:
Fix for r90429: removed call to protected method
Modified paths:
  • /trunk/phase3/includes/Revision.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Revision.php
@@ -240,14 +240,12 @@
241241 $fields[] = 'page_namespace';
242242 $fields[] = 'page_title';
243243 $fields[] = 'page_latest';
244 - $res = $db->select(
 244+ return $db->select(
245245 array( 'page', 'revision' ),
246246 $fields,
247247 $conditions,
248248 __METHOD__,
249249 array( 'LIMIT' => 1 ) );
250 - $ret = $db->resultObject( $res );
251 - return $ret;
252250 }
253251
254252 /**

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r90429In Database.php:...tstarling06:52, 20 June 2011

Status & tagging log