r34845 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r34844‎ | r34845 | r34846 >
Date:03:16, 15 May 2008
Author:aaron
Status:old
Tags:
Comment:
$wgUser not used here
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php
@@ -1896,7 +1896,7 @@
18971897 * version, try to automatically review it.
18981898 */
18991899 public static function maybeMakeEditReviewed( $rev ) {
1900 - global $wgFlaggedRevsAutoReview, $wgFlaggedArticle, $wgRequest, $wgUser;
 1900+ global $wgFlaggedRevsAutoReview, $wgFlaggedArticle, $wgRequest;
19011901 # Get the user
19021902 $user = User::newFromId( $rev->getUser() );
19031903 if( !$wgFlaggedRevsAutoReview || !$user->isAllowed('autoreview') )

Status & tagging log