mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-24 06:13:54 +00:00
🚿 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:
parent
a4ef7d002c
commit
d87eed1c6b
|
@ -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 ),
|
||||
|
|
Loading…
Reference in a new issue