From 9c9ed02cd7ebc5dbbc99bcaed6f80988ce8a9677 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Tue, 13 Oct 2015 22:19:17 -0400 Subject: Change namespace to add Kanboard as prefix --- app/Subscriber/NotificationSubscriber.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'app/Subscriber/NotificationSubscriber.php') diff --git a/app/Subscriber/NotificationSubscriber.php b/app/Subscriber/NotificationSubscriber.php index b99c2945..610fbadb 100644 --- a/app/Subscriber/NotificationSubscriber.php +++ b/app/Subscriber/NotificationSubscriber.php @@ -1,15 +1,15 @@ taskFinder->getDetails($event['task_id']); $values['changes'] = isset($event['changes']) ? $event['changes'] : array(); break; - case 'Event\SubtaskEvent': + case 'Kanboard\Event\SubtaskEvent': $values['subtask'] = $this->subtask->getById($event['id'], true); $values['task'] = $this->taskFinder->getDetails($values['subtask']['task_id']); break; - case 'Event\FileEvent': + case 'Kanboard\Event\FileEvent': $values['file'] = $event->getAll(); $values['task'] = $this->taskFinder->getDetails($values['file']['task_id']); break; - case 'Event\CommentEvent': + case 'Kanboard\Event\CommentEvent': $values['comment'] = $this->comment->getById($event['id']); $values['task'] = $this->taskFinder->getDetails($values['comment']['task_id']); break; -- cgit v1.2.3