From dd71a97a4c2d4b3ca68c1434f5bd698f56f8e999 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Fri, 20 Mar 2009 04:24:40 +0000 Subject: [PATCH] Fix typo - suppressrevision --- includes/specials/SpecialDeletedContributions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( -- 2.20.1