Merge "Remove unused variable"
This commit is contained in:
commit
4161d01409
|
@ -158,9 +158,6 @@ class MinervaHooks {
|
||||||
public static function onRequestContextCreateSkinMobile(
|
public static function onRequestContextCreateSkinMobile(
|
||||||
MobileContext $mobileContext, Skin $skin
|
MobileContext $mobileContext, Skin $skin
|
||||||
) {
|
) {
|
||||||
// MobileContext::getConfigVariable will soon be removed.
|
|
||||||
$hasGetConfigVariable = method_exists( $mobileContext, 'getConfigVariable' );
|
|
||||||
|
|
||||||
// setSkinOptions is not available
|
// setSkinOptions is not available
|
||||||
if ( $skin instanceof SkinMinerva ) {
|
if ( $skin instanceof SkinMinerva ) {
|
||||||
$featureManager = \MediaWiki\MediaWikiServices::getInstance()
|
$featureManager = \MediaWiki\MediaWikiServices::getInstance()
|
||||||
|
|
Loading…
Reference in New Issue