@@ -3,12 +3,7 @@ |
||
3 | 3 | |
4 | 4 | namespace Chamilo\CoreBundle\Entity; |
5 | 5 | |
6 | -use Doctrine\ORM\Mapping as ORM; |
|
7 | -use Gedmo\Mapping\Annotation as Gedmo; |
|
8 | -use Sylius\Component\Attribute\Model\Attribute as BaseAttribute; |
|
9 | -use Sylius\Component\Translation\Model\AbstractTranslatable; |
|
10 | 6 | use Sylius\Component\Translation\Model\AbstractTranslation; |
11 | -use Sylius\Component\Translation\Model\TranslationInterface; |
|
12 | 7 | |
13 | 8 | /** |
14 | 9 | * Class ExtraFieldTranslation |
@@ -8,7 +8,6 @@ |
||
8 | 8 | use Chamilo\CoreBundle\Entity\Repository\SessionRepository; |
9 | 9 | use Doctrine\ORM\Event\LifecycleEventArgs; |
10 | 10 | use Chamilo\CoreBundle\Entity\Session; |
11 | -use Doctrine\ORM\Mapping as ORM; |
|
12 | 11 | |
13 | 12 | /** |
14 | 13 | * Class SessionListener |
@@ -3,13 +3,8 @@ |
||
3 | 3 | |
4 | 4 | namespace Chamilo\CoreBundle\Entity\Manager; |
5 | 5 | |
6 | -use Chamilo\CoreBundle\Entity\Repository\CourseRepository; |
|
7 | 6 | use Sonata\CoreBundle\Model\BaseEntityManager; |
8 | 7 | use Chamilo\CoreBundle\Entity\Course; |
9 | -use Chamilo\UserBundle\Entity\User; |
|
10 | -use Sonata\DatagridBundle\Pager\Doctrine\pager; |
|
11 | -use Sonata\DatagridBundle\ProxyQuery\Doctrine\ProxyQuery; |
|
12 | -use Doctrine\Common\Collections\Criteria; |
|
13 | 8 | |
14 | 9 | /** |
15 | 10 | * Class CourseManager |
@@ -3,15 +3,11 @@ |
||
3 | 3 | |
4 | 4 | namespace Chamilo\CoreBundle\Entity\Manager; |
5 | 5 | |
6 | -use Chamilo\CoreBundle\Entity\Repository\CourseRepository; |
|
7 | 6 | use Chamilo\CoreBundle\Entity\Session; |
8 | 7 | use Chamilo\CoreBundle\Entity\SessionRelUser; |
9 | 8 | use Sonata\CoreBundle\Model\BaseEntityManager; |
10 | 9 | use Chamilo\CoreBundle\Entity\Course; |
11 | 10 | use Chamilo\UserBundle\Entity\User; |
12 | -use Sonata\DatagridBundle\Pager\Doctrine\pager; |
|
13 | -use Sonata\DatagridBundle\ProxyQuery\Doctrine\ProxyQuery; |
|
14 | -use Doctrine\Common\Collections\Criteria; |
|
15 | 11 | |
16 | 12 | /** |
17 | 13 | * Class SessionManager |
@@ -9,7 +9,6 @@ |
||
9 | 9 | use Symfony\Component\Routing\Generator\UrlGeneratorInterface; |
10 | 10 | use Symfony\Component\Security\Core\Authorization\AuthorizationChecker; |
11 | 11 | use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage; |
12 | -use Symfony\Component\Routing\Router; |
|
13 | 12 | use Database; |
14 | 13 | |
15 | 14 | /** |
@@ -3,7 +3,6 @@ |
||
3 | 3 | |
4 | 4 | namespace Chamilo\CoreBundle\EventListener; |
5 | 5 | |
6 | -use Symfony\Component\DependencyInjection\ContainerInterface; |
|
7 | 6 | use Symfony\Component\HttpKernel\Event\FilterControllerEvent; |
8 | 7 | use Symfony\Component\HttpKernel\HttpKernel; |
9 | 8 | use Symfony\Component\Security\Core\SecurityContext; |
@@ -5,7 +5,6 @@ |
||
5 | 5 | |
6 | 6 | use Pagerfanta\Adapter\FixedAdapter; |
7 | 7 | use Pagerfanta\Pagerfanta; |
8 | -use Pagerfanta\View\TwitterBootstrapView; |
|
9 | 8 | use SystemAnnouncementManager; |
10 | 9 | use UserManager; |
11 | 10 | use CourseManager; |
@@ -4,7 +4,6 @@ |
||
4 | 4 | namespace Chamilo\CoreBundle\Framework; |
5 | 5 | |
6 | 6 | use \ChamiloSession as Session; |
7 | -use Chamilo\CoreBundle\Framework\Application; |
|
8 | 7 | use Symfony\Component\Security\Core\SecurityContext; |
9 | 8 | use Symfony\Component\Translation\Translator; |
10 | 9 | use Symfony\Component\Routing\Router; |
@@ -7,7 +7,6 @@ |
||
7 | 7 | use Knp\Menu\FactoryInterface; |
8 | 8 | use Knp\Menu\ItemInterface; |
9 | 9 | use Symfony\Component\DependencyInjection\ContainerAware; |
10 | -use Symfony\Component\Routing\RouterInterface; |
|
11 | 10 | |
12 | 11 | /** |
13 | 12 | * Class NavBuilder |