Add a primary link to the notification

Bug: T163856
Change-Id: Ie8d51b4f0aecb857e8ab95ed15c4d776da7e495f
This commit is contained in:
niharika29 2017-04-27 22:00:48 +00:00
parent b8c7205781
commit b0d0086a4c

View file

@ -11,12 +11,14 @@ class LoginNotifyPresentationModel extends EchoEventPresentationModel {
} }
/** /**
* Nothing really to link to * Link to help page on mediawiki
* *
* @return boolean false to disable link * @return array url to link to
*/ */
public function getPrimaryLink() { public function getPrimaryLink() {
return false; return [
'url' => 'https://mediawiki.org/wiki/Help:Login_notifications'
];
} }
/** /**