Merge "Add a primary link to the notification"

This commit is contained in:
jenkins-bot 2017-05-01 20:34:43 +00:00 committed by Gerrit Code Review
commit c2f5c8174e

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'
];
} }
/** /**