Index: trunk/phase3/includes/Revision.php |
— | — | @@ -240,14 +240,12 @@ |
241 | 241 | $fields[] = 'page_namespace'; |
242 | 242 | $fields[] = 'page_title'; |
243 | 243 | $fields[] = 'page_latest'; |
244 | | - $res = $db->select( |
| 244 | + return $db->select( |
245 | 245 | array( 'page', 'revision' ), |
246 | 246 | $fields, |
247 | 247 | $conditions, |
248 | 248 | __METHOD__, |
249 | 249 | array( 'LIMIT' => 1 ) ); |
250 | | - $ret = $db->resultObject( $res ); |
251 | | - return $ret; |
252 | 250 | } |
253 | 251 | |
254 | 252 | /** |