summaryrefslogtreecommitdiff
path: root/app/Event/SubTaskNotificationListener.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-10-12 15:32:35 -0400
committerFrédéric Guillot <fred@kanboard.net>2014-10-12 15:32:35 -0400
commit4061927d215c846ff8eb196301bf61532018042b (patch)
tree0e14a0e458ee8739754f75f8c158cc42a9b593a4 /app/Event/SubTaskNotificationListener.php
parentb7060b33ef317eeac576c504b1fb840d4471e411 (diff)
Move some Task model methods to the TaskFinder class
Diffstat (limited to 'app/Event/SubTaskNotificationListener.php')
-rw-r--r--app/Event/SubTaskNotificationListener.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Event/SubTaskNotificationListener.php b/app/Event/SubTaskNotificationListener.php
index 299ae00b..2b35d757 100644
--- a/app/Event/SubTaskNotificationListener.php
+++ b/app/Event/SubTaskNotificationListener.php
@@ -23,7 +23,7 @@ class SubTaskNotificationListener extends BaseNotificationListener
{
$values = array();
$values['subtask'] = $this->notification->subtask->getById($data['id'], true);
- $values['task'] = $this->notification->task->getDetails($data['task_id']);
+ $values['task'] = $this->notification->taskFinder->getDetails($data['task_id']);
return $values;
}