MediaWiki  REL1_24
UserBlockedError.php
Go to the documentation of this file.
00001 <?php
00027 class UserBlockedError extends ErrorPageError {
00028     public function __construct( Block $block ) {
00029         // @todo FIXME: Implement a more proper way to get context here.
00030         $params = $block->getPermissionsError( RequestContext::getMain() );
00031         parent::__construct( 'blockedtitle', array_shift( $params ), $params );
00032     }
00033 }