From 47e427457930db38030e1a10e0f3d97a71473371 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 16 Jan 2016 21:48:33 -0500 Subject: Remove __CLASS__ from debug logs --- app/Subscriber/RecurringTaskSubscriber.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/Subscriber/RecurringTaskSubscriber.php') diff --git a/app/Subscriber/RecurringTaskSubscriber.php b/app/Subscriber/RecurringTaskSubscriber.php index a300483d..6d5aee89 100644 --- a/app/Subscriber/RecurringTaskSubscriber.php +++ b/app/Subscriber/RecurringTaskSubscriber.php @@ -18,7 +18,7 @@ class RecurringTaskSubscriber extends BaseSubscriber implements EventSubscriberI public function onMove(TaskEvent $event) { - $this->logger->debug('Subscriber executed: '.__CLASS__.'::'.__METHOD__); + $this->logger->debug('Subscriber executed: '.__METHOD__); if ($event['recurrence_status'] == Task::RECURRING_STATUS_PENDING) { if ($event['recurrence_trigger'] == Task::RECURRING_TRIGGER_FIRST_COLUMN && $this->board->getFirstColumn($event['project_id']) == $event['src_column_id']) { @@ -31,7 +31,7 @@ class RecurringTaskSubscriber extends BaseSubscriber implements EventSubscriberI public function onClose(TaskEvent $event) { - $this->logger->debug('Subscriber executed: '.__CLASS__.'::'.__METHOD__); + $this->logger->debug('Subscriber executed: '.__METHOD__); if ($event['recurrence_status'] == Task::RECURRING_STATUS_PENDING && $event['recurrence_trigger'] == Task::RECURRING_TRIGGER_CLOSE) { $this->taskDuplication->duplicateRecurringTask($event['task_id']); -- cgit v1.2.3