Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php |
— | — | @@ -1782,11 +1782,8 @@ |
1783 | 1783 | } |
1784 | 1784 | |
1785 | 1785 | 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' ); |
1791 | 1788 | return true; |
1792 | 1789 | } |
1793 | 1790 | |