@@ -4,7 +4,6 @@ |
||
4 | 4 | namespace Kunstmaan\MediaBundle\Helper\Media; |
5 | 5 | |
6 | 6 | use Kunstmaan\MediaBundle\Entity\Media; |
7 | -use Symfony\Component\Form\AbstractType; |
|
8 | 7 | |
9 | 8 | abstract class AbstractMediaHandler |
10 | 9 | { |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | 6 | use Kunstmaan\AdminBundle\Helper\DomainConfigurationInterface; |
7 | -use Kunstmaan\MenuBundle\Entity\Menu; |
|
8 | 7 | |
9 | 8 | class MenuService |
10 | 9 | { |
@@ -8,13 +8,10 @@ |
||
8 | 8 | use InvalidArgumentException; |
9 | 9 | use Kunstmaan\AdminBundle\Entity\BaseUser; |
10 | 10 | use Kunstmaan\AdminBundle\Entity\EntityInterface; |
11 | -use Kunstmaan\AdminBundle\Entity\User; |
|
12 | 11 | use Kunstmaan\AdminBundle\FlashMessages\FlashTypes; |
13 | 12 | use Kunstmaan\AdminBundle\Helper\FormWidgets\FormWidget; |
14 | - |
|
15 | 13 | use Kunstmaan\AdminBundle\Helper\FormWidgets\Tabs\Tab; |
16 | 14 | use Kunstmaan\AdminBundle\Helper\FormWidgets\Tabs\TabPane; |
17 | - |
|
18 | 15 | use Kunstmaan\AdminBundle\Helper\Security\Acl\AclHelper; |
19 | 16 | use Kunstmaan\AdminBundle\Helper\Security\Acl\Permission\PermissionMap; |
20 | 17 | use Kunstmaan\AdminListBundle\AdminList\AdminList; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Kunstmaan\NodeBundle\Entity; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\Mapping as ORM; |
6 | -use Kunstmaan\AdminBundle\Entity\User; |
|
7 | 6 | |
8 | 7 | /** |
9 | 8 | * NodeVersionLock |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Kunstmaan\NodeBundle\Event; |
4 | 4 | |
5 | 5 | use Kunstmaan\AdminBundle\Helper\FormWidgets\Tabs\TabPane; |
6 | - |
|
7 | 6 | use Kunstmaan\NodeBundle\Entity\HasNodeInterface; |
8 | 7 | use Kunstmaan\NodeBundle\Entity\Node; |
9 | 8 | use Kunstmaan\NodeBundle\Entity\NodeTranslation; |
@@ -8,7 +8,6 @@ |
||
8 | 8 | use Kunstmaan\NodeBundle\Event\Events; |
9 | 9 | use Kunstmaan\NodeBundle\Event\SlugSecurityEvent; |
10 | 10 | use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
11 | -use Symfony\Component\HttpKernel\Controller\ControllerResolver; |
|
12 | 11 | use Symfony\Component\HttpKernel\Controller\ControllerResolverInterface; |
13 | 12 | use Symfony\Component\HttpKernel\Event\FilterControllerEvent; |
14 | 13 |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use Kunstmaan\NodeBundle\Form\Type\URLChooserType; |
6 | 6 | use Kunstmaan\NodeBundle\Validation\URLValidator; |
7 | 7 | use Symfony\Component\EventDispatcher\EventSubscriberInterface; |
8 | -use Symfony\Component\Form\Extension\Core\Type\CheckboxType; |
|
9 | 8 | use Symfony\Component\Form\Extension\Core\Type\TextType; |
10 | 9 | use Symfony\Component\Form\FormEvent; |
11 | 10 | use Symfony\Component\Form\FormEvents; |
@@ -4,11 +4,9 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | 6 | use Kunstmaan\AdminBundle\Helper\FormWidgets\FormWidget; |
7 | - |
|
8 | 7 | use Kunstmaan\AdminBundle\Helper\Security\Acl\Permission\PermissionAdmin; |
9 | 8 | use Kunstmaan\AdminBundle\Helper\Security\Acl\Permission\PermissionMapInterface; |
10 | 9 | use Kunstmaan\NodeBundle\Entity\HasNodeInterface; |
11 | - |
|
12 | 10 | use Kunstmaan\NodeBundle\Entity\Node; |
13 | 11 | use Symfony\Component\Form\FormBuilderInterface; |
14 | 12 | use Symfony\Component\Form\FormView; |
@@ -2,15 +2,12 @@ |
||
2 | 2 | |
3 | 3 | namespace Kunstmaan\NodeBundle\Helper\Services; |
4 | 4 | |
5 | -use Kunstmaan\AdminBundle\Helper\Security\Acl\Permission; |
|
6 | - |
|
7 | -use Kunstmaan\AdminBundle\Helper\Security\Acl\Permission\MaskBuilder, |
|
8 | - Symfony\Component\DependencyInjection\ContainerInterface; |
|
9 | - |
|
10 | -use Symfony\Component\Security\Acl\Domain\RoleSecurityIdentity, |
|
11 | - Symfony\Component\Security\Acl\Exception\AclNotFoundException, |
|
12 | - Symfony\Component\Security\Acl\Model\MutableAclProviderInterface, |
|
13 | - Symfony\Component\Security\Acl\Model\ObjectIdentityRetrievalStrategyInterface; |
|
5 | +use Kunstmaan\AdminBundle\Helper\Security\Acl\Permission\MaskBuilder; |
|
6 | +use Symfony\Component\DependencyInjection\ContainerInterface; |
|
7 | +use Symfony\Component\Security\Acl\Domain\RoleSecurityIdentity; |
|
8 | +use Symfony\Component\Security\Acl\Exception\AclNotFoundException; |
|
9 | +use Symfony\Component\Security\Acl\Model\MutableAclProviderInterface; |
|
10 | +use Symfony\Component\Security\Acl\Model\ObjectIdentityRetrievalStrategyInterface; |
|
14 | 11 | |
15 | 12 | /** |
16 | 13 | * Service to add the correct permissions to new HasNodeInterface objects. |