@@ -4,11 +4,7 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Predis\Client; |
| 6 | 6 | use Symfony\Component\HttpKernel\CacheClearer\CacheClearerInterface; |
| 7 | -use Symfony\Component\Security\Core\Authorization\AuthorizationChecker; |
|
| 8 | -use Victoire\Bundle\CoreBundle\Cache\VictoireCache; |
|
| 9 | 7 | use Victoire\Bundle\WidgetBundle\Entity\Widget; |
| 10 | -use Victoire\Bundle\WidgetBundle\Entity\WidgetSlotInterface; |
|
| 11 | -use Victoire\Bundle\WidgetBundle\Helper\WidgetHelper; |
|
| 12 | 8 | |
| 13 | 9 | /** |
| 14 | 10 | * This class handle the saving of Widgets. |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Exception; |
| 6 | 6 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
| 7 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security; |
|
| 8 | 7 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
| 9 | 8 | use Symfony\Component\Security\Core\Exception\AccessDeniedException; |
| 10 | 9 | use Symfony\Component\HttpFoundation\Response; |