diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-10-12 21:38:56 -0400 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-10-12 21:38:56 -0400 |
commit | 074056352de98fc567b4d13184c72887c75625d0 (patch) | |
tree | 7d262c3a5d5f779648f51aa0eb7d9f279c05d89d /app/Event/TaskNotificationListener.php | |
parent | 4061927d215c846ff8eb196301bf61532018042b (diff) |
Project activity refactoring and listeners improvements
Diffstat (limited to 'app/Event/TaskNotificationListener.php')
-rw-r--r-- | app/Event/TaskNotificationListener.php | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/app/Event/TaskNotificationListener.php b/app/Event/TaskNotificationListener.php deleted file mode 100644 index 119e61e5..00000000 --- a/app/Event/TaskNotificationListener.php +++ /dev/null @@ -1,29 +0,0 @@ -<?php - -namespace Event; - -use Event\BaseNotificationListener; - -/** - * Task notification listener - * - * @package event - * @author Frederic Guillot - */ -class TaskNotificationListener extends BaseNotificationListener -{ - /** - * Fetch data for the mail template - * - * @access public - * @param array $data Event data - * @return array - */ - public function getTemplateData(array $data) - { - $values = array(); - $values['task'] = $this->notification->taskFinder->getDetails($data['task_id']); - - return $values; - } -} |