Revert r93246: besides the problems pointed out at CR, it also causes bug 31403,...
[lhc/web/wiklou.git] / includes / api / ApiQueryDeletedrevs.php
index 3ce962e..90a9a98 100644 (file)
@@ -43,7 +43,7 @@ class ApiQueryDeletedrevs extends ApiQueryBase {
        public function execute() {
                global $wgUser;
                // Before doing anything at all, let's check permissions
-               if ( !$wgUser->isAllowed( 'deletedhistory' ) || $wgUser->isBlocked() ) {
+               if ( !$wgUser->isAllowed( 'deletedhistory' ) ) {
                        $this->dieUsage( 'You don\'t have permission to view deleted revision information', 'permissiondenied' );
                }