From b4b59ee485e267e4f878c582cce2bb03c64163e9 Mon Sep 17 00:00:00 2001 From: WMDE-Fisch Date: Wed, 3 Aug 2016 18:01:48 +0200 Subject: [PATCH] Remove secondary link in bundled messages for mention status notifications Change-Id: I76de1626c77831b09fe3bb410d17ce354783076a --- includes/formatters/MentionStatusPresentationModel.php | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/includes/formatters/MentionStatusPresentationModel.php b/includes/formatters/MentionStatusPresentationModel.php index 5ec7dc43b..bf6918d7f 100644 --- a/includes/formatters/MentionStatusPresentationModel.php +++ b/includes/formatters/MentionStatusPresentationModel.php @@ -74,15 +74,7 @@ class EchoMentionStatusPresentationModel extends EchoEventPresentationModel { public function getSecondaryLinks() { if ( $this->isBundled() ) { - $viewMentionsLink = array_merge( - $this->getPrimaryLink(), - array( - 'icon' => 'speechBubbles', - 'prioritized' => true - ) - ); - - return array( $viewMentionsLink ); + return false; } $talkPageLink = $this->getPageLink(