r66266 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r66265‎ | r66266 | r66267 >
Date:12:00, 12 May 2010
Author:aaron
Status:ok
Tags:
Comment:
* Show "pending" links in RC for anons too
* Fixed erroneous "unchecked" notice for anons in RC
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php
@@ -1782,11 +1782,8 @@
17831783 }
17841784
17851785 public static function addToRCQuery( &$conds, &$tables, &$join_conds, $opts ) {
1786 - global $wgUser;
1787 - if ( $wgUser->isAllowed( 'review' ) ) {
1788 - $tables[] = 'flaggedpages';
1789 - $join_conds['flaggedpages'] = array( 'LEFT JOIN', 'fp_page_id = rc_cur_id' );
1790 - }
 1786+ $tables[] = 'flaggedpages';
 1787+ $join_conds['flaggedpages'] = array( 'LEFT JOIN', 'fp_page_id = rc_cur_id' );
17911788 return true;
17921789 }
17931790

Status & tagging log