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:
Fomafix 2019-05-12 11:26:04 +02:00
parent afbe0aa76a
commit 3aeac1615b
1 changed files with 1 additions and 0 deletions

View File

@ -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' );
}