diff --git a/extensions/subscriptions/src/Listener/SendNotificationWhenReplyIsPosted.php b/extensions/subscriptions/src/Listener/SendNotificationWhenReplyIsPosted.php index 334e5cdf7..b7d7b5a52 100755 --- a/extensions/subscriptions/src/Listener/SendNotificationWhenReplyIsPosted.php +++ b/extensions/subscriptions/src/Listener/SendNotificationWhenReplyIsPosted.php @@ -27,12 +27,6 @@ class SendNotificationWhenReplyIsPosted public function handle(Posted $event) { - $discussion = $event->post->discussion; - - /** @var \Psr\Log\LoggerInterface $log */ - $log = resolve('log'); - $log->info("running subscriptions send notification when reply is posted listener. last_post_number: $discussion->last_post_number"); - $this->queue->push( new SendReplyNotification($event->post, $event->post->discussion->last_post_number) );