Allow sub-classes to disable OOUI for now (e.g. GlobalPrefs).
Change-Id: Ic3ff878b5f0ba7ec4162fab09fe1b9e10a820095
function __construct() {
parent::__construct( 'Preferences' );
function __construct() {
parent::__construct( 'Preferences' );
-
- $this->oouiEnabled = self::isOouiEnabled( $this->getContext() );
}
public function execute( $par ) {
}
public function execute( $par ) {
+ $this->oouiEnabled = static::isOouiEnabled( $this->getContext() );
+
$this->setHeaders();
$this->outputHeader();
$out = $this->getOutput();
$this->setHeaders();
$this->outputHeader();
$out = $this->getOutput();