@@ -1,8 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | /* For licensing terms, see /license.txt */ |
3 | 3 | |
4 | -use ChamiloSession as Session; |
|
5 | - |
|
6 | 4 | /** |
7 | 5 | * Class ExerciseLib |
8 | 6 | * shows a question and its answers |
@@ -1,8 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | /* For licensing terms, see /license.txt */ |
3 | 3 | |
4 | -use ChamiloSession as Session; |
|
5 | - |
|
6 | 4 | /** |
7 | 5 | * Class ExerciseLib |
8 | 6 | * shows a question and its answers |
@@ -1,8 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | /* For licensing terms, see /license.txt */ |
3 | 3 | |
4 | -use ChamiloSession as Session; |
|
5 | - |
|
6 | 4 | /** |
7 | 5 | * Class ExerciseLib |
8 | 6 | * shows a question and its answers |
@@ -4,14 +4,11 @@ |
||
4 | 4 | namespace Chamilo\CoreBundle\Block; |
5 | 5 | |
6 | 6 | use Symfony\Component\HttpFoundation\Response; |
7 | - |
|
8 | 7 | use Sonata\AdminBundle\Form\FormMapper; |
9 | 8 | use Sonata\CoreBundle\Validator\ErrorElement; |
10 | - |
|
11 | 9 | use Sonata\BlockBundle\Model\BlockInterface; |
12 | 10 | use Sonata\BlockBundle\Block\BaseBlockService; |
13 | 11 | use Sonata\BlockBundle\Block\BlockContextInterface; |
14 | - |
|
15 | 12 | use Symfony\Component\OptionsResolver\OptionsResolverInterface; |
16 | 13 | |
17 | 14 | /** |
@@ -9,7 +9,6 @@ |
||
9 | 9 | */ |
10 | 10 | |
11 | 11 | use ChamiloSession as Session; |
12 | -use Symfony\Component\Validator\Constraints as Assert; |
|
13 | 12 | use Chamilo\UserBundle\Entity\User; |
14 | 13 | use Chamilo\CoreBundle\Entity\Course; |
15 | 14 | use Chamilo\CoreBundle\Framework\Container; |
@@ -4,7 +4,6 @@ |
||
4 | 4 | namespace Chamilo\CourseBundle; |
5 | 5 | |
6 | 6 | use Chamilo\CoreBundle\Entity\Course; |
7 | -use Chamilo\CoreBundle\Entity\Resource\ResourceNode; |
|
8 | 7 | use Chamilo\CoreBundle\Entity\Tool; |
9 | 8 | use Chamilo\CoreBundle\Entity\ToolResourceRights; |
10 | 9 | use Chamilo\CoreBundle\Security\Authorization\Voter\ResourceNodeVoter; |
@@ -9,7 +9,6 @@ |
||
9 | 9 | */ |
10 | 10 | |
11 | 11 | use ChamiloSession as Session; |
12 | -use Symfony\Component\Validator\Constraints as Assert; |
|
13 | 12 | use Chamilo\UserBundle\Entity\User; |
14 | 13 | use Chamilo\CoreBundle\Entity\Course; |
15 | 14 | use Chamilo\CoreBundle\Framework\Container; |
@@ -4,14 +4,10 @@ |
||
4 | 4 | namespace Chamilo\UserBundle\Entity\Listener; |
5 | 5 | |
6 | 6 | use Chamilo\CoreBundle\Entity\AccessUrl; |
7 | -use Chamilo\CoreBundle\Entity\AccessUrlRelCourse; |
|
8 | 7 | use Chamilo\CoreBundle\Entity\AccessUrlRelUser; |
9 | -use Chamilo\CoreBundle\Entity\Repository\CourseRepository; |
|
10 | - |
|
11 | 8 | use Chamilo\UserBundle\Repository\UserRepository; |
12 | 9 | use Doctrine\ORM\Event\LifecycleEventArgs; |
13 | 10 | use Chamilo\UserBundle\Entity\User; |
14 | -use Doctrine\ORM\Mapping as ORM; |
|
15 | 11 | |
16 | 12 | /** |
17 | 13 | * Class UserListener |
@@ -4,14 +4,11 @@ |
||
4 | 4 | namespace Chamilo\CoreBundle\Block; |
5 | 5 | |
6 | 6 | use Symfony\Component\HttpFoundation\Response; |
7 | - |
|
8 | 7 | use Sonata\AdminBundle\Form\FormMapper; |
9 | 8 | use Sonata\CoreBundle\Validator\ErrorElement; |
10 | - |
|
11 | 9 | use Sonata\BlockBundle\Model\BlockInterface; |
12 | 10 | use Sonata\BlockBundle\Block\BaseBlockService; |
13 | 11 | use Sonata\BlockBundle\Block\BlockContextInterface; |
14 | - |
|
15 | 12 | use Symfony\Component\OptionsResolver\OptionsResolverInterface; |
16 | 13 | |
17 | 14 | /** |