Remove secondary link in bundled messages for mention status notifications

Change-Id: I76de1626c77831b09fe3bb410d17ce354783076a
This commit is contained in:
WMDE-Fisch 2016-08-03 18:01:48 +02:00 committed by Catrope
parent 84bcf2d7a2
commit b4b59ee485

View file

@ -74,15 +74,7 @@ class EchoMentionStatusPresentationModel extends EchoEventPresentationModel {
public function getSecondaryLinks() { public function getSecondaryLinks() {
if ( $this->isBundled() ) { if ( $this->isBundled() ) {
$viewMentionsLink = array_merge( return false;
$this->getPrimaryLink(),
array(
'icon' => 'speechBubbles',
'prioritized' => true
)
);
return array( $viewMentionsLink );
} }
$talkPageLink = $this->getPageLink( $talkPageLink = $this->getPageLink(