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:
Jon Robson 2023-03-24 14:17:43 -07:00 committed by Jdlrobson
parent 7995bfd7ad
commit 831e3d93b7

View file

@ -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();