@@ -5,11 +5,9 @@ |
||
5 | 5 | |
6 | 6 | use Chamilo\CoreBundle\Entity\SettingsCurrent; |
7 | 7 | use Chamilo\CoreBundle\Entity\SettingsOptions; |
8 | - |
|
9 | 8 | use Doctrine\Common\DataFixtures\OrderedFixtureInterface; |
10 | 9 | use Doctrine\Common\DataFixtures\AbstractFixture; |
11 | 10 | use Doctrine\Common\Persistence\ObjectManager; |
12 | - |
|
13 | 11 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
14 | 12 | use Symfony\Component\DependencyInjection\ContainerInterface; |
15 | 13 | use Oro\Bundle\MigrationBundle\Fixture\VersionedFixtureInterface; |
@@ -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 |
@@ -4,9 +4,7 @@ |
||
4 | 4 | namespace Chamilo\CourseBundle\Controller; |
5 | 5 | |
6 | 6 | use Chamilo\CoreBundle\Controller\BaseController; |
7 | -use Knp\Menu\FactoryInterface as MenuFactoryInterface; |
|
8 | 7 | use Knp\Menu\ItemInterface as MenuItemInterface; |
9 | -use Knp\Menu\Renderer\ListRenderer; |
|
10 | 8 | use Symfony\Component\HttpFoundation\Request; |
11 | 9 | use Chamilo\CoreBundle\Entity\Course; |
12 | 10 | use Chamilo\CoreBundle\Entity\Session; |
@@ -3,11 +3,8 @@ |
||
3 | 3 | |
4 | 4 | namespace Chamilo\CourseBundle\Controller; |
5 | 5 | |
6 | -use Chamilo\CoreBundle\Controller\BaseController; |
|
7 | 6 | use Chamilo\CoreBundle\Controller\BaseResourceController; |
8 | -use Knp\Menu\FactoryInterface as MenuFactoryInterface; |
|
9 | 7 | use Knp\Menu\ItemInterface as MenuItemInterface; |
10 | -use Knp\Menu\Renderer\ListRenderer; |
|
11 | 8 | use Symfony\Component\HttpFoundation\Request; |
12 | 9 | use Chamilo\CoreBundle\Entity\Course; |
13 | 10 | use Chamilo\CoreBundle\Entity\Session; |
@@ -4,15 +4,11 @@ |
||
4 | 4 | namespace Chamilo\CourseBundle\Controller; |
5 | 5 | |
6 | 6 | use Chamilo\CoreBundle\Entity\Resource\AbstractResource; |
7 | -use Doctrine\ORM\QueryBuilder; |
|
8 | 7 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
9 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
|
10 | 8 | use Symfony\Component\HttpFoundation\Response; |
11 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
|
12 | 9 | use APY\DataGridBundle\Grid\Source\Entity; |
13 | 10 | use APY\DataGridBundle\Grid\Export\CSVExport; |
14 | 11 | use APY\DataGridBundle\Grid\Export\ExcelExport; |
15 | -use APY\DataGridBundle\Grid\Export\PHPExcelPDFExport; |
|
16 | 12 | //use APY\DataGridBundle\Grid\Export\XmlExport; |
17 | 13 | |
18 | 14 | use APY\DataGridBundle\Grid\Action\MassAction; |
@@ -7,8 +7,6 @@ |
||
7 | 7 | use Symfony\Component\Validator\Constraints as Assert; |
8 | 8 | use Symfony\Component\Validator\Mapping\ClassMetadata; |
9 | 9 | use Chamilo\CoreBundle\Entity\Course; |
10 | -use Symfony\Component\HttpFoundation\File\UploadedFile; |
|
11 | -use APY\DataGridBundle\Grid\Mapping as GRID; |
|
12 | 10 | |
13 | 11 | /** |
14 | 12 | * CTool |