mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-12 08:58:25 +00:00
Merge "Remove legacy behavior from hook handler function"
This commit is contained in:
commit
c057a78843
|
@ -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