DisablePresentationModel: Remove duplicate getExtraParam call

Follows-Up: I99077ea082b8483cc4fd77573a0d00fa98201f15
Change-Id: I3e6d5aad83e005f7ea2b80551b5eb9249bf4b947
This commit is contained in:
Reedy 2022-02-17 15:07:26 +00:00 committed by DannyS712
parent 329c3133d6
commit 4a3db51953

View file

@ -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';