@@ -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; |
@@ -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 |
@@ -3,15 +3,11 @@ |
||
3 | 3 | |
4 | 4 | namespace Chamilo\CoreBundle\Migrations\Data\ORM; |
5 | 5 | |
6 | -use Doctrine\Common\DataFixtures\FixtureInterface; |
|
7 | 6 | use Doctrine\Common\DataFixtures\OrderedFixtureInterface; |
8 | 7 | use Doctrine\Common\DataFixtures\AbstractFixture; |
9 | 8 | use Doctrine\Common\Persistence\ObjectManager; |
10 | - |
|
11 | 9 | use Sonata\PageBundle\Model\SiteInterface; |
12 | 10 | use Sonata\PageBundle\Model\PageInterface; |
13 | - |
|
14 | -use Symfony\Cmf\Bundle\RoutingBundle\Tests\Unit\Doctrine\Orm\ContentRepositoryTest; |
|
15 | 11 | use Symfony\Component\Console\Output\ConsoleOutput; |
16 | 12 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
17 | 13 | use Symfony\Component\DependencyInjection\ContainerInterface; |
@@ -3,11 +3,9 @@ |
||
3 | 3 | |
4 | 4 | namespace Chamilo\CoreBundle\Security\Authorization\Voter; |
5 | 5 | |
6 | -use Chamilo\CoreBundle\Entity\Course; |
|
7 | 6 | use Chamilo\CourseBundle\Entity\CGroupInfo; |
8 | 7 | use Chamilo\CoreBundle\Entity\Manager\CourseManager; |
9 | 8 | use Chamilo\CourseBundle\Entity\Manager\GroupManager; |
10 | -use Chamilo\CoreBundle\Entity\Session; |
|
11 | 9 | use Chamilo\UserBundle\Entity\User; |
12 | 10 | use Doctrine\ORM\EntityManager; |
13 | 11 | use Symfony\Component\DependencyInjection\ContainerInterface; |
@@ -6,13 +6,8 @@ |
||
6 | 6 | use Chamilo\CoreBundle\Entity\Course; |
7 | 7 | use Chamilo\CoreBundle\Entity\Resource\ResourceLink; |
8 | 8 | use Chamilo\CoreBundle\Entity\Resource\ResourceNode; |
9 | -use Chamilo\CoreBundle\Entity\Resource\ResourceRights; |
|
10 | 9 | use Chamilo\CoreBundle\Entity\Session; |
11 | -use Chamilo\CoreBundle\Entity\ToolResourceRights; |
|
12 | -use Doctrine\Common\Collections\ArrayCollection; |
|
13 | -use Sonata\AdminBundle\Security\Acl\Permission\AdminPermissionMap; |
|
14 | 10 | use Symfony\Component\DependencyInjection\ContainerInterface; |
15 | -use Symfony\Component\Security\Acl\Domain\UserSecurityIdentity; |
|
16 | 11 | use Symfony\Component\Security\Core\Authorization\Voter\AbstractVoter; |
17 | 12 | use Symfony\Component\Security\Core\User\UserInterface; |
18 | 13 | use Zend\Permissions\Acl\Acl; |
@@ -6,7 +6,6 @@ |
||
6 | 6 | use Chamilo\CoreBundle\Component\Editor\CkEditor\Toolbar\Introduction; |
7 | 7 | use Chamilo\CourseBundle\Controller\ToolBaseController; |
8 | 8 | use Chamilo\CourseBundle\Entity\CToolIntro; |
9 | -use Chamilo\CourseBundle\Form\Type\CToolIntroType; |
|
10 | 9 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
11 | 10 | use Symfony\Component\HttpFoundation\Response; |
12 | 11 | use Symfony\Component\Routing\Annotation\Route; |
@@ -7,14 +7,11 @@ |
||
7 | 7 | use Symfony\Component\HttpFoundation\Response; |
8 | 8 | use Symfony\Component\Routing\Annotation\Route; |
9 | 9 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
10 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter; |
|
11 | 10 | use Chamilo\CourseBundle\Entity\CTool; |
12 | 11 | use Display; |
13 | 12 | use CourseHome; |
14 | 13 | use Symfony\Component\HttpFoundation\Request; |
15 | 14 | |
16 | -use Symfony\Component\Security\Core\Exception\AccessDeniedException; |
|
17 | - |
|
18 | 15 | /** |
19 | 16 | * Class HomeController |
20 | 17 | * @package Chamilo\CourseBundle\Controller\Home |