Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php |
— | — | @@ -576,7 +576,7 @@ |
577 | 577 | /** |
578 | 578 | * Don't let users vandalize pages by moving them |
579 | 579 | */ |
580 | | - public static function userCanMove( $title, $user, &$action, &$result ) { |
| 580 | + public static function userCanMove( $title, $user, $action, &$result ) { |
581 | 581 | if( $action != 'move' || $result===false || !FlaggedRevs::isPageReviewable($title) ) { |
582 | 582 | return true; |
583 | 583 | } |
— | — | @@ -597,7 +597,7 @@ |
598 | 598 | /** |
599 | 599 | * Don't let users pages pages not in $wgFlaggedRevsPatrolNamespaces |
600 | 600 | */ |
601 | | - public static function userCanPatrol( $title, $user, &$action, &$result ) { |
| 601 | + public static function userCanPatrol( $title, $user, $action, &$result ) { |
602 | 602 | if( $action != 'patrol' || $result===false ) { |
603 | 603 | return true; |
604 | 604 | } |
— | — | @@ -629,7 +629,7 @@ |
630 | 630 | /** |
631 | 631 | * Allow users to view reviewed pages |
632 | 632 | */ |
633 | | - public static function userCanView( $title, $user, &$action, &$result ) { |
| 633 | + public static function userCanView( $title, $user, $action, &$result ) { |
634 | 634 | global $wgFlaggedRevsVisible, $wgFlaggedRevsTalkVisible, $wgTitle; |
635 | 635 | # Assume $action may still not be set, in which case, treat it as 'view'... |
636 | 636 | # Return out if $result set to false by some other hooked call. |