@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Component\Form\FormInterface; |
6 | 6 | use BeSimple\SoapBundle\ServiceDefinition\Annotation as Soap; |
7 | - |
|
8 | 7 | use Oro\Bundle\SecurityBundle\Annotation\AclAncestor; |
9 | 8 | use Oro\Bundle\SoapBundle\Controller\Api\Soap\SoapController; |
10 | 9 | use Oro\Bundle\SoapBundle\Entity\Manager\ApiEntityManager; |
@@ -4,11 +4,9 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
6 | 6 | use Symfony\Component\HttpKernel\Exception\BadRequestHttpException; |
7 | - |
|
8 | 7 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
9 | 8 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
10 | 9 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter; |
11 | - |
|
12 | 10 | use Oro\Bundle\SecurityBundle\Annotation\AclAncestor; |
13 | 11 | use OroCRM\Bundle\ContactBundle\Entity\ContactAddress; |
14 | 12 | use OroCRM\Bundle\ContactBundle\Entity\Contact; |
@@ -4,15 +4,11 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
6 | 6 | use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |
7 | - |
|
8 | 7 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
9 | 8 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
10 | - |
|
11 | 9 | use Oro\Bundle\SecurityBundle\Annotation\Acl; |
12 | 10 | use Oro\Bundle\SecurityBundle\Annotation\AclAncestor; |
13 | - |
|
14 | 11 | use Oro\Bundle\SoapBundle\Entity\Manager\ApiEntityManager; |
15 | - |
|
16 | 12 | use OroCRM\Bundle\ContactBundle\Entity\Contact; |
17 | 13 | use OroCRM\Bundle\AccountBundle\Entity\Account; |
18 | 14 |
@@ -2,15 +2,10 @@ |
||
2 | 2 | |
3 | 3 | namespace OroCRM\Bundle\ContactBundle\Controller; |
4 | 4 | |
5 | -use Symfony\Component\HttpFoundation\Request; |
|
6 | 5 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
7 | - |
|
8 | 6 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
9 | 7 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
10 | - |
|
11 | 8 | use Oro\Bundle\SecurityBundle\Annotation\Acl; |
12 | -use Oro\Bundle\SecurityBundle\Annotation\AclAncestor; |
|
13 | - |
|
14 | 9 | use OroCRM\Bundle\ContactBundle\Entity\Group; |
15 | 10 | |
16 | 11 | /** |
@@ -3,8 +3,6 @@ |
||
3 | 3 | namespace OroCRM\Bundle\ContactBundle\Entity\Repository; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityRepository; |
6 | -use Doctrine\ORM\QueryBuilder; |
|
7 | - |
|
8 | 6 | use Oro\Bundle\EmailBundle\Entity\Repository\EmailAwareRepository; |
9 | 7 | |
10 | 8 | class ContactRepository extends EntityRepository implements EmailAwareRepository |
@@ -5,11 +5,9 @@ |
||
5 | 5 | use Doctrine\ORM\UnitOfWork; |
6 | 6 | use Symfony\Component\Security\Core\SecurityContextInterface; |
7 | 7 | use Symfony\Component\DependencyInjection\ContainerInterface; |
8 | - |
|
9 | 8 | use Doctrine\ORM\EntityManager; |
10 | 9 | use Doctrine\ORM\Event\LifecycleEventArgs; |
11 | 10 | use Doctrine\ORM\Event\PreUpdateEventArgs; |
12 | - |
|
13 | 11 | use OroCRM\Bundle\ContactBundle\Entity\Contact; |
14 | 12 | use Oro\Bundle\UserBundle\Entity\User; |
15 | 13 |
@@ -4,10 +4,8 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManagerInterface; |
6 | 6 | use Doctrine\ORM\UnitOfWork; |
7 | - |
|
8 | 7 | use Symfony\Component\Form\FormInterface; |
9 | 8 | use Symfony\Component\HttpFoundation\Request; |
10 | - |
|
11 | 9 | use Oro\Bundle\TagBundle\Entity\TagManager; |
12 | 10 | use Oro\Bundle\TagBundle\Form\Handler\TagHandlerInterface; |
13 | 11 | use OroCRM\Bundle\AccountBundle\Entity\Account; |
@@ -4,9 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Component\Form\FormInterface; |
6 | 6 | use Symfony\Component\HttpFoundation\Request; |
7 | - |
|
8 | 7 | use Doctrine\Common\Persistence\ObjectManager; |
9 | - |
|
10 | 8 | use OroCRM\Bundle\ContactBundle\Entity\Contact; |
11 | 9 | use OroCRM\Bundle\ContactBundle\Entity\Group; |
12 | 10 |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace OroCRM\Bundle\ContactBundle\Handler; |
4 | 4 | |
5 | 5 | use Symfony\Component\PropertyAccess\PropertyAccess; |
6 | - |
|
7 | 6 | use Oro\Bundle\EntityBundle\Form\EntityField\Handler\Processor\AbstractEntityApiHandler; |
8 | 7 | use Oro\Bundle\EntityBundle\ORM\OroEntityManager; |
9 | 8 |