MinervaNeue has no sidebar, do not process this method

MinervaNeue doesn't show any sidebar, only MainMenu and
PagetActions menu. There is no need to call original
Skin::buildSidebar() as the result is not used.

Change-Id: Iec60491d4b45b7b6f6ba23525a4f6af08903bb31
This commit is contained in:
Piotr Miazga 2019-05-07 22:21:10 +02:00
parent 4ad1b511c0
commit 44d5ffd6e9
1 changed files with 8 additions and 0 deletions

View File

@ -973,6 +973,14 @@ class SkinMinerva extends SkinTemplate {
];
}
/**
* Minerva skin do not have sidebar, there is no need to calculate that.
* @return array
*/
public function buildSidebar() {
return [];
}
/**
* Creates a history action: An icon that links to the mobile history page.
*