From f073c22212f1e27942d35e9787a1f11d25f9575a Mon Sep 17 00:00:00 2001 From: Sami Mazouz Date: Thu, 4 Aug 2022 10:43:26 +0100 Subject: [PATCH] chore: remove debug line that slipped in while rebasing a PR (#3580) Signed-off-by: Sami Mazouz --- .../src/Listener/SendNotificationWhenReplyIsPosted.php | 6 ------ 1 file changed, 6 deletions(-) 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) );