r48623 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r48622‎ | r48623 | r48624 >
Date:04:24, 20 March 2009
Author:aaron
Status:ok
Tags:
Comment:
Fix typo - suppressrevision
Modified paths:
  • /trunk/phase3/includes/specials/SpecialDeletedContributions.php (modified) (history)

Diff [purge]

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

Status & tagging log