summaryrefslogtreecommitdiff
path: root/app/Notification/MailNotification.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-02-19 12:14:54 -0500
committerFrederic Guillot <fred@kanboard.net>2017-02-19 12:14:54 -0500
commitdc7c7667ec2eb648ca097d00c25a00f7cc9a7d19 (patch)
tree97d24f16628c7a247ede17dc37b60f0f6fc76997 /app/Notification/MailNotification.php
parent778c9d82126560980d6473a708cd45c8ee0ba330 (diff)
Avoid passing application_url argument to all notification templates
Diffstat (limited to 'app/Notification/MailNotification.php')
-rw-r--r--app/Notification/MailNotification.php5
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);
}
/**