Index: trunk/phase3/includes/specials/SpecialUndelete.php |
— | — | @@ -576,7 +576,7 @@ |
577 | 577 | if( $par != "" ) { |
578 | 578 | $this->mTarget = $par; |
579 | 579 | } |
580 | | - if ( $wgUser->isAllowed( 'deletedtext' ) && $wgUser->isAllowed( 'undelete' ) && !$wgUser->isBlocked() ) { |
| 580 | + if ( $wgUser->isAllowed( 'undelete' ) && !$wgUser->isBlocked() ) { |
581 | 581 | $this->mAllowed = true; // user can restore |
582 | 582 | $this->mCanView = true; // user can view content |
583 | 583 | } elseif ( $wgUser->isAllowed( 'deletedtext' ) ) { |