From: Aaron Schulz Date: Fri, 20 Mar 2009 04:24:40 +0000 (+0000) Subject: Fix typo - suppressrevision X-Git-Tag: 1.31.0-rc.0~42439 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/modifier.php?a=commitdiff_plain;h=dd71a97a4c2d4b3ca68c1434f5bd698f56f8e999;p=lhc%2Fweb%2Fwiklou.git Fix typo - suppressrevision --- diff --git a/includes/specials/SpecialDeletedContributions.php b/includes/specials/SpecialDeletedContributions.php index ce80ede8b9..67b05ca186 100644 --- a/includes/specials/SpecialDeletedContributions.php +++ b/includes/specials/SpecialDeletedContributions.php @@ -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(