r57622 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r57621‎ | r57622 | r57623 >
Date:18:29, 10 October 2009
Author:aaron
Status:ok (Comments)
Tags:
Comment:
bug 21076: b/c, make 'undelete' work without 'deletedtext'
Modified paths:
  • /trunk/phase3/includes/specials/SpecialUndelete.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialUndelete.php
@@ -576,7 +576,7 @@
577577 if( $par != "" ) {
578578 $this->mTarget = $par;
579579 }
580 - if ( $wgUser->isAllowed( 'deletedtext' ) && $wgUser->isAllowed( 'undelete' ) && !$wgUser->isBlocked() ) {
 580+ if ( $wgUser->isAllowed( 'undelete' ) && !$wgUser->isBlocked() ) {
581581 $this->mAllowed = true; // user can restore
582582 $this->mCanView = true; // user can view content
583583 } elseif ( $wgUser->isAllowed( 'deletedtext' ) ) {

Comments

#Comment by Platonides (talk | contribs)   19:23, 30 January 2010

Release notes?

Status & tagging log