summaryrefslogtreecommitdiff
path: root/app/Job/NotificationJob.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Job/NotificationJob.php')
-rw-r--r--app/Job/NotificationJob.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/app/Job/NotificationJob.php b/app/Job/NotificationJob.php
index cfd0699d..ed568e47 100644
--- a/app/Job/NotificationJob.php
+++ b/app/Job/NotificationJob.php
@@ -70,13 +70,8 @@ class NotificationJob extends BaseJob
$values['subtask'] = $this->subtaskModel->getById($event['id'], true);
$values['task'] = $this->taskFinderModel->getDetails($values['subtask']['task_id']);
break;
- case 'Kanboard\Event\FileEvent':
- $values['file'] = $event;
- $values['task'] = $this->taskFinderModel->getDetails($values['file']['task_id']);
- break;
- case 'Kanboard\Event\CommentEvent':
+ default:
$values = $event;
- break;
}
return $values;