monobook-responsive pref: Follow core preference if set
If the general skin-responsive setting is set, let it overide monobook-responsive preferences Eventually remove monobook-responsive when the affected users have migrated to the general pref (or they're migrated, if necessary) Bug: T285402 Depends-On: I4e567199a92c0492dac0561a5c7844f6c5c239e6 Change-Id: If6e405eaf1e4c3ac396fdcf2da31501ea3f65b53
This commit is contained in:
parent
ee59005150
commit
2f82aabd68
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ class SkinMonoBook extends SkinTemplate {
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public function isResponsive() {
|
public function isResponsive() {
|
||||||
return $this->getUser()->getOption( 'monobook-responsive' );
|
return parent::isResponsive() || $this->getUser()->getOption( 'monobook-responsive' );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue