@@ -8,8 +8,6 @@ |
||
8 | 8 | use Symfony\Component\HttpFoundation\Response; |
9 | 9 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
10 | 10 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
11 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
|
12 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security; |
|
13 | 11 | |
14 | 12 | /** |
15 | 13 | * Class Administrator |
@@ -7,15 +7,7 @@ |
||
7 | 7 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
8 | 8 | use Symfony\Bundle\TwigBundle\TwigEngine; |
9 | 9 | use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |
10 | -use Symfony\Component\HttpFoundation\Response; |
|
11 | -use Symfony\Component\HttpFoundation\JsonResponse; |
|
12 | -use Symfony\Component\HttpFoundation\Request; |
|
13 | 10 | use Knp\Menu\Matcher\Matcher; |
14 | -use Symfony\Component\Routing\Generator\UrlGeneratorInterface; |
|
15 | -use Symfony\Component\Routing\Annotation\Route; |
|
16 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
|
17 | -use Symfony\Component\DependencyInjection\Container; |
|
18 | - |
|
19 | 11 | use Knp\Menu\FactoryInterface as MenuFactoryInterface; |
20 | 12 | use Knp\Menu\ItemInterface as MenuItemInterface; |
21 | 13 | use Knp\Menu\Renderer\ListRenderer; |
@@ -5,19 +5,10 @@ |
||
5 | 5 | |
6 | 6 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
7 | 7 | use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |
8 | -use Symfony\Component\HttpFoundation\Response; |
|
9 | -use Symfony\Component\HttpFoundation\JsonResponse; |
|
10 | -use Symfony\Component\HttpFoundation\Request; |
|
11 | 8 | use Knp\Menu\Matcher\Matcher; |
12 | -use Symfony\Component\Routing\Generator\UrlGeneratorInterface; |
|
13 | -use Symfony\Component\Routing\Annotation\Route; |
|
14 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
|
15 | -use Symfony\Component\DependencyInjection\Container; |
|
16 | - |
|
17 | 9 | use Knp\Menu\FactoryInterface as MenuFactoryInterface; |
18 | 10 | use Knp\Menu\ItemInterface as MenuItemInterface; |
19 | 11 | use Knp\Menu\Renderer\ListRenderer; |
20 | - |
|
21 | 12 | use Sylius\Bundle\ResourceBundle\Controller\ResourceController; |
22 | 13 | |
23 | 14 | /** |
@@ -9,8 +9,6 @@ |
||
9 | 9 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
10 | 10 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
11 | 11 | use Symfony\Component\HttpFoundation\Request; |
12 | -use Symfony\Component\HttpFoundation\Response; |
|
13 | - |
|
14 | 12 | use Chamilo\CoreBundle\Component\Editor\Connector; |
15 | 13 | use Chamilo\CoreBundle\Component\Editor\Finder; |
16 | 14 |
@@ -8,23 +8,14 @@ |
||
8 | 8 | use Chamilo\CoreBundle\Entity\ExtraFieldValues; |
9 | 9 | use Chamilo\CoreBundle\Framework\PageController; |
10 | 10 | use Chamilo\UserBundle\Entity\User; |
11 | -use Doctrine\Common\Annotations\Annotation\Attribute; |
|
12 | 11 | use Sylius\Component\Attribute\AttributeType\TextAttributeType; |
13 | -use Sylius\Component\Attribute\Model\AttributeValue; |
|
14 | 12 | use Sylius\Component\Attribute\Model\AttributeValueInterface; |
15 | 13 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
16 | - |
|
17 | 14 | use Chamilo\CoreBundle\Controller\BaseController; |
18 | -use Symfony\Component\HttpFoundation\BinaryFileResponse; |
|
19 | 15 | use Symfony\Component\HttpFoundation\Response; |
20 | 16 | use Symfony\Component\HttpFoundation\Request; |
21 | -use Symfony\Component\HttpFoundation\StreamedResponse; |
|
22 | -use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |
|
23 | -use Symfony\Component\HttpKernel\HttpKernelInterface; |
|
24 | -use Symfony\Component\Finder\Finder; |
|
25 | 17 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
26 | 18 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
27 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
|
28 | 19 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security; |
29 | 20 | |
30 | 21 | /** |
@@ -8,7 +8,6 @@ |
||
8 | 8 | use Symfony\Component\HttpFoundation\Response; |
9 | 9 | use Symfony\Component\HttpFoundation\Request; |
10 | 10 | use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |
11 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
|
12 | 11 | use Chamilo\CoreBundle\Framework\Container; |
13 | 12 | use Display; |
14 | 13 |
@@ -4,7 +4,6 @@ |
||
4 | 4 | namespace Chamilo\CoreBundle\Controller\User; |
5 | 5 | |
6 | 6 | use Chamilo\CoreBundle\Controller\BaseController; |
7 | -use Silex\Application; |
|
8 | 7 | use Symfony\Component\Routing\Annotation\Route; |
9 | 8 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
10 | 9 | use Symfony\Component\HttpFoundation\Response; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | |
4 | 4 | namespace Chamilo\CoreBundle\Controller\User; |
5 | 5 | |
6 | -use Chamilo\CoreBundle\Entity\Course; |
|
7 | 6 | use Chamilo\CoreBundle\Entity\CourseRelUser; |
8 | 7 | use Symfony\Component\HttpFoundation\JsonResponse; |
9 | 8 | use Symfony\Component\HttpFoundation\Request; |
@@ -5,16 +5,10 @@ |
||
5 | 5 | |
6 | 6 | use Chamilo\CoreBundle\Framework\PageController; |
7 | 7 | use Chamilo\CoreBundle\Controller\BaseController; |
8 | -use Symfony\Component\HttpFoundation\BinaryFileResponse; |
|
9 | 8 | use Symfony\Component\HttpFoundation\Response; |
10 | 9 | use Symfony\Component\HttpFoundation\Request; |
11 | -use Symfony\Component\HttpFoundation\StreamedResponse; |
|
12 | -use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |
|
13 | -use Symfony\Component\HttpKernel\HttpKernelInterface; |
|
14 | -use Symfony\Component\Finder\Finder; |
|
15 | 10 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
16 | 11 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
17 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
|
18 | 12 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security; |
19 | 13 | |
20 | 14 | /** |