diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-02-19 12:14:54 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-02-19 12:14:54 -0500 |
commit | dc7c7667ec2eb648ca097d00c25a00f7cc9a7d19 (patch) | |
tree | 97d24f16628c7a247ede17dc37b60f0f6fc76997 /app/Action | |
parent | 778c9d82126560980d6473a708cd45c8ee0ba330 (diff) |
Avoid passing application_url argument to all notification templates
Diffstat (limited to 'app/Action')
-rw-r--r-- | app/Action/TaskEmail.php | 1 | ||||
-rw-r--r-- | app/Action/TaskEmailNoActivity.php | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/app/Action/TaskEmail.php b/app/Action/TaskEmail.php index 559c2c0b..5a8b5518 100644 --- a/app/Action/TaskEmail.php +++ b/app/Action/TaskEmail.php @@ -88,7 +88,6 @@ class TaskEmail extends Base $this->getParam('subject'), $this->template->render('notification/task_create', array( 'task' => $data['task'], - 'application_url' => $this->configModel->get('application_url'), )) ); diff --git a/app/Action/TaskEmailNoActivity.php b/app/Action/TaskEmailNoActivity.php index cac4281e..1aaecf11 100644 --- a/app/Action/TaskEmailNoActivity.php +++ b/app/Action/TaskEmailNoActivity.php @@ -116,7 +116,7 @@ class TaskEmailNoActivity extends Base $user['email'], $user['name'] ?: $user['username'], $this->getParam('subject'), - $this->template->render('notification/task_create', array('task' => $task, 'application_url' => $this->configModel->get('application_url'))) + $this->template->render('notification/task_create', array('task' => $task)) ); return true; |