From: Alexandre Emsenhuber Date: Sat, 17 Jul 2010 17:38:02 +0000 (+0000) Subject: Corrected fatal errors introduced in r68999 (oops!) X-Git-Tag: 1.31.0-rc.0~36118 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=617387dc7378535e9fd15b135eff299335dbd8f7;p=lhc%2Fweb%2Fwiklou.git Corrected fatal errors introduced in r68999 (oops!) --- 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