summaryrefslogtreecommitdiff
path: root/app/Subscriber/RecurringTaskSubscriber.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-01-16 21:48:33 -0500
committerFrederic Guillot <fred@kanboard.net>2016-01-16 21:48:33 -0500
commit47e427457930db38030e1a10e0f3d97a71473371 (patch)
tree4384ce92ef2d26df9f4f872f52dbbe459280df69 /app/Subscriber/RecurringTaskSubscriber.php
parent41e900fc7a5cf53f340abdaf1e687adea7e0d0d3 (diff)
Remove __CLASS__ from debug logs
Diffstat (limited to 'app/Subscriber/RecurringTaskSubscriber.php')
-rw-r--r--app/Subscriber/RecurringTaskSubscriber.php4
1 files changed, 2 insertions, 2 deletions
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']);