Remove __CLASS__ from debug logs

This commit is contained in:
Frederic Guillot
2016-01-16 21:48:33 -05:00
parent 41e900fc7a
commit 47e4274579
8 changed files with 12 additions and 12 deletions

View File

@@ -23,7 +23,7 @@ class SubtaskTimeTrackingSubscriber extends BaseSubscriber implements EventSubsc
public function updateTaskTime(SubtaskEvent $event)
{
if (isset($event['task_id'])) {
$this->logger->debug('Subscriber executed: '.__CLASS__.'::'.__METHOD__);
$this->logger->debug('Subscriber executed: '.__METHOD__);
$this->subtaskTimeTracking->updateTaskTimeTracking($event['task_id']);
}
}
@@ -31,7 +31,7 @@ class SubtaskTimeTrackingSubscriber extends BaseSubscriber implements EventSubsc
public function logStartEnd(SubtaskEvent $event)
{
if (isset($event['status']) && $this->config->get('subtask_time_tracking') == 1) {
$this->logger->debug('Subscriber executed: '.__CLASS__.'::'.__METHOD__);
$this->logger->debug('Subscriber executed: '.__METHOD__);
$subtask = $this->subtask->getById($event['id']);
if (empty($subtask['user_id'])) {