Avoid passing application_url argument to all notification templates
This commit is contained in:
@@ -62,10 +62,7 @@ class MailNotification extends Base implements NotificationInterface
|
||||
*/
|
||||
public function getMailContent($event_name, array $event_data)
|
||||
{
|
||||
return $this->template->render(
|
||||
'notification/'.str_replace('.', '_', $event_name),
|
||||
$event_data + array('application_url' => $this->configModel->get('application_url'))
|
||||
);
|
||||
return $this->template->render('notification/'.str_replace('.', '_', $event_name), $event_data);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user