Fix typo - suppressrevision
authorAaron Schulz <aaron@users.mediawiki.org>
Fri, 20 Mar 2009 04:24:40 +0000 (04:24 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Fri, 20 Mar 2009 04:24:40 +0000 (04:24 +0000)
includes/specials/SpecialDeletedContributions.php

index ce80ede..67b05ca 100644 (file)
@@ -30,7 +30,7 @@ class DeletedContribsPager extends IndexPager {
                list( $index, $userCond ) = $this->getUserCond();
                $conds = array_merge( $userCond, $this->getNamespaceCond() );
                // Paranoia: avoid brute force searches (bug 17792)
-               if( !$wgUser->isAllowed( 'hiderevision' ) ) {
+               if( !$wgUser->isAllowed( 'suppressrevision' ) ) {
                        $conds[] = 'ar_deleted & ' . Revision::DELETED_USER . ' = 0';
                }
                return array(