r24843 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24842‎ | r24843 | r24844 >
Date:22:24, 15 August 2007
Author:aaron
Status:old
Tags:
Comment:
*Jump to diff for people that can review only
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php
@@ -820,9 +820,9 @@
821821 }
822822
823823 public static function injectReviewDiffURLParams( $article, &$extraq ) {
824 - global $wgReviewChangesAfterEdit;
 824+ global $wgReviewChangesAfterEdit, $wgUser;
825825
826 - if( !$wgReviewChangesAfterEdit )
 826+ if( !$wgReviewChangesAfterEdit || !$wgUser->isAllowed( 'review' ) )
827827 return;
828828
829829 $frev = self::getOverridingRev( $article->getTitle() );

Status & tagging log