From 0eaadb3b14f7398649cea6a7cb5331bb4c0d10b9 Mon Sep 17 00:00:00 2001 From: Florianschmidtwelzow Date: Thu, 23 Jul 2015 07:19:47 +0200 Subject: [PATCH] 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 --- SkinVector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SkinVector.php b/SkinVector.php index c6106df..24c73bd 100644 --- a/SkinVector.php +++ b/SkinVector.php @@ -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' ); }