@@ -5,11 +5,8 @@ |
||
5 | 5 | use FOS\RestBundle\Util\Codes; |
6 | 6 | use FOS\RestBundle\Controller\Annotations\NamePrefix; |
7 | 7 | use FOS\RestBundle\Controller\Annotations\RouteResource; |
8 | - |
|
9 | 8 | use Nelmio\ApiDocBundle\Annotation\ApiDoc; |
10 | - |
|
11 | 9 | use Symfony\Component\HttpFoundation\Response; |
12 | - |
|
13 | 10 | use Oro\Bundle\EmailBundle\Entity\EmailTemplate; |
14 | 11 | use Oro\Bundle\SecurityBundle\Annotation\AclAncestor; |
15 | 12 | use Oro\Bundle\SoapBundle\Controller\Api\Rest\RestController; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace OroCRM\Bundle\CampaignBundle\Controller\Dashboard; |
4 | 4 | |
5 | 5 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
6 | - |
|
7 | 6 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
8 | 7 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
9 | 8 |
@@ -142,7 +142,7 @@ |
||
142 | 142 | * ) |
143 | 143 | * |
144 | 144 | * @param EmailCampaign $entity |
145 | - * @return array |
|
145 | + * @return \Symfony\Component\HttpFoundation\RedirectResponse |
|
146 | 146 | */ |
147 | 147 | public function sendAction(EmailCampaign $entity) |
148 | 148 | { |
@@ -7,7 +7,6 @@ |
||
7 | 7 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
8 | 8 | use Symfony\Component\Form\FormInterface; |
9 | 9 | use Symfony\Component\HttpFoundation\Request; |
10 | - |
|
11 | 10 | use Oro\Bundle\SecurityBundle\Annotation\Acl; |
12 | 11 | use Oro\Bundle\SecurityBundle\Annotation\AclAncestor; |
13 | 12 | use OroCRM\Bundle\CampaignBundle\Entity\EmailCampaign; |
@@ -6,7 +6,6 @@ |
||
6 | 6 | use Symfony\Component\Form\FormEvent; |
7 | 7 | use Symfony\Component\Form\FormEvents; |
8 | 8 | use Symfony\Component\Form\FormInterface; |
9 | - |
|
10 | 9 | use Oro\Bundle\EntityBundle\ORM\DoctrineHelper; |
11 | 10 | use OroCRM\Bundle\CampaignBundle\Entity\EmailCampaign; |
12 | 11 | use OroCRM\Bundle\CampaignBundle\Provider\EmailTransportProvider; |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use Symfony\Bridge\Doctrine\RegistryInterface; |
6 | 6 | use Symfony\Component\Form\FormInterface; |
7 | 7 | use Symfony\Component\HttpFoundation\Request; |
8 | - |
|
9 | 8 | use OroCRM\Bundle\CampaignBundle\Entity\EmailCampaign; |
10 | 9 | |
11 | 10 | class EmailCampaignHandler |
@@ -6,7 +6,6 @@ |
||
6 | 6 | use Oro\Bundle\ChartBundle\Model\Data\DataInterface; |
7 | 7 | use Oro\Bundle\ChartBundle\Model\Data\MappedData; |
8 | 8 | use Oro\Bundle\ChartBundle\Model\Data\Transformer\TransformerInterface; |
9 | - |
|
10 | 9 | use Oro\Bundle\UIBundle\Tools\ArrayUtils; |
11 | 10 | use OroCRM\Bundle\CampaignBundle\Entity\Campaign; |
12 | 11 |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Bundle\DoctrineBundle\Registry; |
6 | 6 | use Doctrine\Common\Persistence\ObjectManager; |
7 | - |
|
8 | 7 | use Oro\Bundle\TrackingBundle\Entity\TrackingVisit; |
9 | 8 | use Oro\Bundle\TrackingBundle\Entity\TrackingVisitEvent; |
10 | 9 | use Oro\Bundle\TrackingBundle\Provider\TrackingEventIdentifierInterface; |
@@ -4,9 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\DataFixtures\AbstractFixture; |
6 | 6 | use Doctrine\Common\Persistence\ObjectManager; |
7 | - |
|
8 | 7 | use Symfony\Component\PropertyAccess\PropertyAccess; |
9 | - |
|
10 | 8 | use OroCRM\Bundle\CampaignBundle\Entity\Campaign; |
11 | 9 | |
12 | 10 | class LoadCampaignData extends AbstractFixture |
@@ -4,9 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\DataFixtures\AbstractFixture; |
6 | 6 | use Doctrine\Common\Persistence\ObjectManager; |
7 | - |
|
8 | 7 | use Symfony\Component\PropertyAccess\PropertyAccess; |
9 | - |
|
10 | 8 | use Oro\Bundle\TrackingBundle\Entity\TrackingEvent; |
11 | 9 | use Oro\Bundle\TrackingBundle\Entity\TrackingWebsite; |
12 | 10 |