mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-30 18:45:07 +00:00
Remove secondary link in bundled messages for mention status notifications
Change-Id: I76de1626c77831b09fe3bb410d17ce354783076a
This commit is contained in:
parent
84bcf2d7a2
commit
b4b59ee485
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue