summaryrefslogtreecommitdiff
path: root/app/Event/SubTaskNotificationListener.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Event/SubTaskNotificationListener.php')
-rw-r--r--app/Event/SubTaskNotificationListener.php30
1 files changed, 0 insertions, 30 deletions
diff --git a/app/Event/SubTaskNotificationListener.php b/app/Event/SubTaskNotificationListener.php
deleted file mode 100644
index 2b35d757..00000000
--- a/app/Event/SubTaskNotificationListener.php
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-
-namespace Event;
-
-use Event\BaseNotificationListener;
-
-/**
- * SubTask notification listener
- *
- * @package event
- * @author Frederic Guillot
- */
-class SubTaskNotificationListener 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['subtask'] = $this->notification->subtask->getById($data['id'], true);
- $values['task'] = $this->notification->taskFinder->getDetails($data['task_id']);
-
- return $values;
- }
-}