mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-28 08:00:32 +00:00
Remove legacy behavior from hook handler function
Change-Id: I96d6942cf6bf23652942d5ebe456a1f01e805556
This commit is contained in:
parent
e79e2202b9
commit
ef1c89fc1d
|
@ -202,7 +202,6 @@ class MinervaHooks {
|
|||
*
|
||||
* @param array &$vars Array of variables to be added into the output of the RL startup module.
|
||||
* @param string $skin
|
||||
* @return bool
|
||||
*/
|
||||
public static function onResourceLoaderGetConfigVars( &$vars, $skin ) {
|
||||
if ( $skin === 'minerva' ) {
|
||||
|
@ -217,7 +216,5 @@ class MinervaHooks {
|
|||
'wgMinervaReadOnly' => wfReadOnly()
|
||||
];
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue