diff options
Diffstat (limited to 'app/Notification/MailNotification.php')
-rw-r--r-- | app/Notification/MailNotification.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/app/Notification/MailNotification.php b/app/Notification/MailNotification.php index 9e042820..90ca4324 100644 --- a/app/Notification/MailNotification.php +++ b/app/Notification/MailNotification.php @@ -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); } /** |