Avoid passing application_url argument to all notification templates

This commit is contained in:
Frederic Guillot
2017-02-19 12:14:54 -05:00
parent 778c9d8212
commit dc7c7667ec
24 changed files with 23 additions and 27 deletions

View File

@@ -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;