From 1d69831a1c7ec676403ce10230ec35d0c94bdc0e Mon Sep 17 00:00:00 2001 From: Zdeno Kuzmany Date: Fri, 3 May 2019 18:05:12 +0200 Subject: [PATCH] Remove old code --- EventListener/EmailSubscriber.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/EventListener/EmailSubscriber.php b/EventListener/EmailSubscriber.php index e1e84a4..2e994f9 100644 --- a/EventListener/EmailSubscriber.php +++ b/EventListener/EmailSubscriber.php @@ -52,19 +52,6 @@ public function onEmailGenerate(Events\EmailSendEvent $event) { $this->logger->info('onEmailGenerate MauticAdvancedTemplatesBundle\EmailSubscriber'); $content = $event->getContent(); - $content .= " - {% TWIG_BLOCK %} - {% set items = 'http://mautic.test/feed.rss' | rss('segments') %} - -{% END_TWIG_BLOCK %} - "; $content = $this->templateProcessor->processTemplate($content, $event->getLead()); $event->setContent($content); }