🚿 Hygiene: Remove unused $menuData variable from getSkinConfigVariables method

As far as I can tell, this is unused and the invoked method doesn't
cause any side effects. Therefore, I think it can be safely removed.

Change-Id: I8b507b4bf38a8a0e70684165d8a48c2d284cdd11
This commit is contained in:
Nicholas Ray 2020-02-03 15:15:36 -07:00
parent a4ef7d002c
commit d87eed1c6b

View file

@ -730,7 +730,6 @@ class SkinMinerva extends SkinTemplate {
public function getSkinConfigVariables() {
$title = $this->getTitle();
$menuData = $this->getMainMenu()->getMenuData();
$vars = [
'wgMinervaPermissions' => [
'watch' => $this->getPermissions()->isAllowed( IMinervaPagePermissions::WATCH ),