@@ -7,9 +7,6 @@ |
||
7 | 7 | use Symfony\Component\Form\AbstractType; |
8 | 8 | use Symfony\Component\Form\FormBuilderInterface; |
9 | 9 | use Symfony\Component\OptionsResolver\OptionsResolverInterface; |
10 | -use Symfony\Component\Security\Core\SecurityContext; |
|
11 | -use Symfony\Component\Form\FormEvent; |
|
12 | -use Symfony\Component\Form\FormEvents; |
|
13 | 10 | use Symfony\Component\OptionsResolver\OptionsResolver; |
14 | 11 | |
15 | 12 | /** |
@@ -1,8 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | /* For licensing terms, see /license.txt */ |
3 | 3 | |
4 | -use Chamilo\CoreBundle\Framework\Container; |
|
5 | - |
|
6 | 4 | api_protect_admin_script(); |
7 | 5 | |
8 | 6 | $tableUser = Database::get_main_table(TABLE_MAIN_USER); |
@@ -1,8 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | /* For licensing terms, see /license.txt */ |
3 | 3 | |
4 | -use Chamilo\CoreBundle\Framework\Container; |
|
5 | - |
|
6 | 4 | api_protect_admin_script(); |
7 | 5 | |
8 | 6 | $tableUser = Database::get_main_table(TABLE_MAIN_USER); |
@@ -1,9 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | /* For licensing terms, see /license.txt */ |
3 | 3 | |
4 | -use Chamilo\CoreBundle\Framework\Container; |
|
5 | 4 | use Chamilo\CourseBundle\Entity\CGroupInfo; |
6 | -use Chamilo\CourseBundle\Entity\CGroupCategory; |
|
7 | 5 | |
8 | 6 | /** |
9 | 7 | * This library contains some functions for group-management. |
@@ -4,7 +4,6 @@ |
||
4 | 4 | namespace Chamilo\CoreBundle\Component\Editor; |
5 | 5 | |
6 | 6 | use Chamilo\CoreBundle\Framework\Template; |
7 | -use Symfony\Component\Translation\Translator; |
|
8 | 7 | use Symfony\Component\Routing\RouterInterface; |
9 | 8 | use Symfony\Component\Translation\TranslatorInterface; |
10 | 9 |
@@ -5,7 +5,6 @@ |
||
5 | 5 | |
6 | 6 | use Chamilo\CoreBundle\Entity\Course; |
7 | 7 | use Chamilo\CoreBundle\Entity\Manager\CourseManager; |
8 | -use Chamilo\CoreBundle\Entity\Repository\CourseRepository; |
|
9 | 8 | use Chamilo\CourseBundle\Tool\BaseTool; |
10 | 9 | use Chamilo\CourseBundle\ToolChain; |
11 | 10 | use Sylius\Bundle\SettingsBundle\Schema\SchemaInterface; |
@@ -5,12 +5,9 @@ |
||
5 | 5 | |
6 | 6 | use Chamilo\CoreBundle\Entity\ExtraField; |
7 | 7 | use Chamilo\CoreBundle\Entity\ExtraFieldOptions; |
8 | - |
|
9 | -use Doctrine\Common\DataFixtures\FixtureInterface; |
|
10 | 8 | use Doctrine\Common\DataFixtures\OrderedFixtureInterface; |
11 | 9 | use Doctrine\Common\DataFixtures\AbstractFixture; |
12 | 10 | use Doctrine\Common\Persistence\ObjectManager; |
13 | - |
|
14 | 11 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
15 | 12 | use Symfony\Component\DependencyInjection\ContainerInterface; |
16 | 13 | use Oro\Bundle\MigrationBundle\Fixture\VersionedFixtureInterface; |
@@ -4,14 +4,9 @@ |
||
4 | 4 | namespace Chamilo\CoreBundle\Controller\Admin; |
5 | 5 | |
6 | 6 | use Sylius\Bundle\SettingsBundle\Controller\SettingsController as SyliusSettingsController; |
7 | -use Symfony\Component\HttpFoundation\Request; |
|
8 | -use Symfony\Component\HttpFoundation\Response; |
|
9 | -use Symfony\Component\Validator\Exception\ValidatorException; |
|
10 | 7 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security; |
11 | 8 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
12 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
|
13 | 9 | use Chamilo\SettingsBundle\Manager\SettingsManager; |
14 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
|
15 | 10 | |
16 | 11 | /** |
17 | 12 | * Class SettingsController |
@@ -9,9 +9,7 @@ |
||
9 | 9 | use Symfony\Component\Validator\Exception\ValidatorException; |
10 | 10 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security; |
11 | 11 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
12 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
|
13 | 12 | use Chamilo\SettingsBundle\Manager\SettingsManager; |
14 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
|
15 | 13 | |
16 | 14 | /** |
17 | 15 | * Class SettingsController |