@@ -54,8 +54,7 @@ |
||
| 54 | 54 | if (!$this->authorizationChecker->isGranted('ROLE_ADMIN')) { |
| 55 | 55 | return; |
| 56 | 56 | } |
| 57 | - } |
|
| 58 | - catch (AuthenticationCredentialsNotFoundException $e) { |
|
| 57 | + } catch (AuthenticationCredentialsNotFoundException $e) { |
|
| 59 | 58 | return; |
| 60 | 59 | } |
| 61 | 60 | |
@@ -13,7 +13,6 @@ |
||
| 13 | 13 | |
| 14 | 14 | use Doctrine\Common\Persistence\ObjectManager; |
| 15 | 15 | use Doctrine\Common\Persistence\ObjectRepository; |
| 16 | -use Doctrine\ORM\UnitOfWork; |
|
| 17 | 16 | use Ivoaz\Bundle\ContentEditableBundle\Manager\ContentManager; |
| 18 | 17 | use Ivoaz\Bundle\ContentEditableBundle\Exception\MissingLocaleException; |
| 19 | 18 | use Ivoaz\Bundle\ContentEditableBundle\Model\Content; |