This commit is contained in:
Alexey Skobkin 2015-06-02 04:52:27 +03:00
parent 13b36f41f7
commit f353949e6d

View file

@ -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)
;