mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-24 06:13:54 +00:00
Drop dead code relating to Minerva-specific messages in overflow menu
Remove an unnecessary line as follow up to Ifd10da690a33e7fc5790a7b444b62fbfd1b95d98 Change-Id: I6f279d116d94c9840d453a3b50ea8ac6b66e7433
This commit is contained in:
parent
7995bfd7ad
commit
831e3d93b7
|
@ -85,7 +85,6 @@ class DefaultOverflowBuilder implements IOverflowBuilder {
|
||||||
*/
|
*/
|
||||||
private function build( $name, $icon, $toolboxIdx, array $toolbox ) {
|
private function build( $name, $icon, $toolboxIdx, array $toolbox ) {
|
||||||
$href = $toolbox[$toolboxIdx]['href'] ?? null;
|
$href = $toolbox[$toolboxIdx]['href'] ?? null;
|
||||||
$minervaMsg = $this->messageLocalizer->msg( 'minerva-page-actions-' . $name );
|
|
||||||
$originalMsg = $toolbox[$toolboxIdx]['text'] ??
|
$originalMsg = $toolbox[$toolboxIdx]['text'] ??
|
||||||
$this->messageLocalizer->msg( $toolboxIdx )->text();
|
$this->messageLocalizer->msg( $toolboxIdx )->text();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue