From: Alexandre Emsenhuber Date: Mon, 20 Jun 2011 07:45:19 +0000 (+0000) Subject: Fix for r90429: removed call to protected method X-Git-Tag: 1.31.0-rc.0~29402 X-Git-Url: http://git.cyclocoop.org//%27%40script%40/%27?a=commitdiff_plain;h=794dc8dffbc656a43077f4918e7faeac7c99aaa0;p=lhc%2Fweb%2Fwiklou.git Fix for r90429: removed call to protected method --- diff --git a/includes/Revision.php b/includes/Revision.php index 0780f74cf1..8496683970 100644 --- a/includes/Revision.php +++ b/includes/Revision.php @@ -240,14 +240,12 @@ class Revision { $fields[] = 'page_namespace'; $fields[] = 'page_title'; $fields[] = 'page_latest'; - $res = $db->select( + return $db->select( array( 'page', 'revision' ), $fields, $conditions, __METHOD__, array( 'LIMIT' => 1 ) ); - $ret = $db->resultObject( $res ); - return $ret; } /**