Revert r93246: besides the problems pointed out at CR, it also causes bug 31403,...
[lhc/web/wiklou.git] / includes / specials / SpecialRevisiondelete.php
index c5915fb..1bfda1f 100644 (file)
@@ -118,8 +118,6 @@ class SpecialRevisionDelete extends UnlistedSpecialPage {
                        throw new PermissionsError( 'deletedhistory' );
                } elseif( wfReadOnly() ) {
                        throw new ReadOnlyError;
-               } elseif( $user->isBlocked() ) {
-                       throw new UserBlockedError( $user->getBlock() );
                }
 
                $this->mIsAllowed = $user->isAllowed('deleterevision'); // for changes