Index: trunk/phase3/includes/specials/SpecialDeletedContributions.php |
— | — | @@ -30,7 +30,7 @@ |
31 | 31 | list( $index, $userCond ) = $this->getUserCond(); |
32 | 32 | $conds = array_merge( $userCond, $this->getNamespaceCond() ); |
33 | 33 | // Paranoia: avoid brute force searches (bug 17792) |
34 | | - if( !$wgUser->isAllowed( 'hiderevision' ) ) { |
| 34 | + if( !$wgUser->isAllowed( 'suppressrevision' ) ) { |
35 | 35 | $conds[] = 'ar_deleted & ' . Revision::DELETED_USER . ' = 0'; |
36 | 36 | } |
37 | 37 | return array( |