r47595 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r47594‎ | r47595 | r47596 >
Date:03:17, 21 February 2009
Author:aaron
Status:ok
Tags:
Comment:
Stylistic tweaks
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevision.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevision.php
@@ -88,7 +88,8 @@
8989 'rev_page = fr_page_id',
9090 'rev_deleted & '.Revision::DELETED_TEXT => 0 ),
9191 __METHOD__,
92 - $options );
 92+ $options
 93+ );
9394 # Sorted from highest to lowest, so just take the first one if any
9495 if( $row ) {
9596 $frev = new FlaggedRevision( $row );
@@ -124,8 +125,9 @@
125126 $columns,
126127 array( 'fp_page_id' => $pageId,
127128 'fr_page_id = fp_page_id',
128 - 'fp_stable = fr_rev_id' ),
129 - __METHOD__ );
 129+ 'fr_rev_id = fp_stable' ),
 130+ __METHOD__
 131+ );
130132 if( !$row ) return null;
131133 } else {
132134 if( $flags & FR_FOR_UPDATE ) $options[] = 'FOR UPDATE';

Status & tagging log