From 617387dc7378535e9fd15b135eff299335dbd8f7 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sat, 17 Jul 2010 17:38:02 +0000 Subject: [PATCH] Corrected fatal errors introduced in r68999 (oops!) --- includes/specials/SpecialIpblocklist.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/specials/SpecialIpblocklist.php b/includes/specials/SpecialIpblocklist.php index 8aa42f6404..bed2ddb36c 100644 --- a/includes/specials/SpecialIpblocklist.php +++ b/includes/specials/SpecialIpblocklist.php @@ -73,7 +73,7 @@ class IPUnblockForm extends SpecialPage { } else { $user = User::newFromName( $ip ); } - $status = self::checkUnblockSelf( $user ); + $status = IPBlockForm::checkUnblockSelf( $user ); if ( $status !== true ) { throw new ErrorPageError( 'badaccess', $status ); } @@ -233,7 +233,7 @@ class IPUnblockForm extends SpecialPage { # Unset _deleted fields as needed if( $block->mHideName ) { - self::unsuppressUserName( $block->mAddress, $block->mUser ); + IPBlockForm::unsuppressUserName( $block->mAddress, $block->mUser ); } # Make log entry -- 2.20.1