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