r69484 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r69483‎ | r69484 | r69485 >
Date:17:38, 17 July 2010
Author:ialex
Status:ok
Tags:
Comment:
Corrected fatal errors introduced in r68999 (oops!)
Modified paths:
  • /trunk/phase3/includes/specials/SpecialIpblocklist.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialIpblocklist.php
@@ -73,7 +73,7 @@
7474 } else {
7575 $user = User::newFromName( $ip );
7676 }
77 - $status = self::checkUnblockSelf( $user );
 77+ $status = IPBlockForm::checkUnblockSelf( $user );
7878 if ( $status !== true ) {
7979 throw new ErrorPageError( 'badaccess', $status );
8080 }
@@ -233,7 +233,7 @@
234234
235235 # Unset _deleted fields as needed
236236 if( $block->mHideName ) {
237 - self::unsuppressUserName( $block->mAddress, $block->mUser );
 237+ IPBlockForm::unsuppressUserName( $block->mAddress, $block->mUser );
238238 }
239239
240240 # Make log entry

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r68999* Modified Special:Ipblocklist to subclass SpecialPage instead of using wfSpe...ialex14:38, 4 July 2010

Status & tagging log