mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/OATHAuth
synced 2024-11-28 10:10:19 +00:00
DisablePresentationModel: Remove duplicate getExtraParam call
Follows-Up: I99077ea082b8483cc4fd77573a0d00fa98201f15 Change-Id: I3e6d5aad83e005f7ea2b80551b5eb9249bf4b947
This commit is contained in:
parent
329c3133d6
commit
4a3db51953
|
@ -63,7 +63,6 @@ class DisablePresentationModel extends EchoEventPresentationModel {
|
|||
* @inheritDoc
|
||||
*/
|
||||
public function getBodyMessage() {
|
||||
$self = $this->event->getExtraParam( 'self', true );
|
||||
$message = $this->event->getExtraParam( 'self', true )
|
||||
? 'notification-body-oathauth-disable'
|
||||
: 'notification-body-oathauth-disable-other';
|
||||
|
|
Loading…
Reference in a new issue