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/AuthSubscriber.php | 8 ++++---- app/Subscriber/BootstrapSubscriber.php | 4 ++-- app/Subscriber/NotificationSubscriber.php | 22 +++++++++++----------- app/Subscriber/ProjectActivitySubscriber.php | 12 ++++++------ app/Subscriber/ProjectDailySummarySubscriber.php | 8 ++++---- .../ProjectModificationDateSubscriber.php | 8 ++++---- app/Subscriber/RecurringTaskSubscriber.php | 8 ++++---- app/Subscriber/SubtaskTimeTrackingSubscriber.php | 8 ++++---- app/Subscriber/TaskMovedDateSubscriber.php | 8 ++++---- app/Subscriber/TransitionSubscriber.php | 8 ++++---- app/Subscriber/WebhookSubscriber.php | 18 +++++++++--------- 11 files changed, 56 insertions(+), 56 deletions(-) (limited to 'app/Subscriber') diff --git a/app/Subscriber/AuthSubscriber.php b/app/Subscriber/AuthSubscriber.php index b814057f..2461b52c 100644 --- a/app/Subscriber/AuthSubscriber.php +++ b/app/Subscriber/AuthSubscriber.php @@ -1,12 +1,12 @@ 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; diff --git a/app/Subscriber/ProjectActivitySubscriber.php b/app/Subscriber/ProjectActivitySubscriber.php index 82b13d8e..f8d5d150 100644 --- a/app/Subscriber/ProjectActivitySubscriber.php +++ b/app/Subscriber/ProjectActivitySubscriber.php @@ -1,14 +1,14 @@