Avoid passing application_url argument to all notification templates
This commit is contained in:
@@ -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'),
|
||||
))
|
||||
);
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user