*Replace calls to $this->blockedIPpage() with $wgOut->blockedPage() since the former refers to a non-existent function in EditPage.

This commit is contained in:
Aaron Schulz 2007-05-04 19:17:36 +00:00
parent 2eb7c35609
commit 62c20a7563

View file

@ -512,7 +512,8 @@ END
return;
}
if ( $wgUser->isBlocked() ) {
return $this->blockedIPpage();
$wgOut->blockedPage();
return;
}
if ( wfReadOnly() ) {
$wgOut->readOnlyPage();
@ -645,7 +646,8 @@ END
return;
}
if ( $wgUser->isBlocked() ) {
return $this->blockedIPpage();
$wgOut->blockedPage();
return;
}
if( !$wgUser->matchEditToken( $wgRequest->getVal( 'wpEditToken' ), $oldimage ) ) {
$wgOut->showErrorPage( 'internalerror', 'sessionfailure' );
@ -686,11 +688,6 @@ END
$descTitle = $img->getTitle();
$wgOut->returnToMain( false, $descTitle->getPrefixedText() );
}
function blockedIPpage() {
$edit = new EditPage( $this );
return $edit->blockedIPpage();
}
/**
* Override handling of action=purge