Don't use core config in Vector skin

Vector's own configuration properties should be fetched from
Vector's own config object, instead of core's config object.

Follow up: Ib611357bbce739b1d193abaf89c228ba52613d6a

Change-Id: I358a5c1876098a85d77e90b11b3bf4e77c0f6c78
This commit is contained in:
Florianschmidtwelzow 2015-07-23 07:19:47 +02:00
parent a8f8ecf234
commit 0eaadb3b14
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ class SkinVector extends SkinTemplate {
public function initPage( OutputPage $out ) {
parent::initPage( $out );
if ( $this->getConfig()->get( 'VectorResponsive' ) ) {
if ( $this->vectorConfig->get( 'VectorResponsive' ) ) {
$out->addMeta( 'viewport', 'width=device-width, initial-scale=1' );
}