diff --git a/src/Skobkin/Bundle/PointToolsBundle/Service/SubscriptionsManager.php b/src/Skobkin/Bundle/PointToolsBundle/Service/SubscriptionsManager.php index 22c8a15..f17e5cb 100644 --- a/src/Skobkin/Bundle/PointToolsBundle/Service/SubscriptionsManager.php +++ b/src/Skobkin/Bundle/PointToolsBundle/Service/SubscriptionsManager.php @@ -18,6 +18,7 @@ class SubscriptionsManager protected $em; + // @todo Add logger public function __construct(EntityManagerInterface $entityManager) { $this->em = $entityManager; @@ -81,7 +82,7 @@ class SubscriptionsManager $logEvent = new SubscriptionEvent(); $logEvent ->setSubscriber($unsubscribedUser) - ->setAction($user) + ->setAuthor($user) ->setAction(SubscriptionEvent::ACTION_UNSUBSCRIBE) ;