From 83b29ac660bf8a6187a0f86d3c0d53f7b8ced46e Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sat, 10 Oct 2009 18:29:38 +0000 Subject: [PATCH] bug 21076: b/c, make 'undelete' work without 'deletedtext' --- includes/specials/SpecialUndelete.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/specials/SpecialUndelete.php b/includes/specials/SpecialUndelete.php index 6f58a46b9a..fd9801b22c 100644 --- a/includes/specials/SpecialUndelete.php +++ b/includes/specials/SpecialUndelete.php @@ -576,7 +576,7 @@ class UndeleteForm { if( $par != "" ) { $this->mTarget = $par; } - if ( $wgUser->isAllowed( 'deletedtext' ) && $wgUser->isAllowed( 'undelete' ) && !$wgUser->isBlocked() ) { + if ( $wgUser->isAllowed( 'undelete' ) && !$wgUser->isBlocked() ) { $this->mAllowed = true; // user can restore $this->mCanView = true; // user can view content } elseif ( $wgUser->isAllowed( 'deletedtext' ) ) { -- 2.20.1