Remove legacy behavior from hook handler function

Change-Id: I96d6942cf6bf23652942d5ebe456a1f01e805556
This commit is contained in:
Derick Alangi 2019-02-10 12:04:19 +01:00
parent e79e2202b9
commit ef1c89fc1d

View file

@ -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;
}
}