SkinVector: Call parent::__construct in constructor
With this change the constructor of the parent class gets called like if there is no local constructor. This allows the ancestor classes to initialize themself in their constructor. Change-Id: I4ec1ec935afa25b59be4020fca9ac71f23e62ad0
This commit is contained in:
parent
afbe0aa76a
commit
3aeac1615b
|
@ -37,6 +37,7 @@ class SkinVector extends SkinTemplate {
|
|||
private $responsiveMode = false;
|
||||
|
||||
public function __construct() {
|
||||
parent::__construct( ...func_get_args() );
|
||||
$this->vectorConfig = \MediaWiki\MediaWikiServices::getInstance()->getConfigFactory()
|
||||
->makeConfig( 'vector' );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue