diff options
author | Thomas Citharel <tcit@tcit.fr> | 2016-03-18 22:23:49 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-10-22 09:06:07 +0200 |
commit | c7935f32d2cd7fd29dbc7b07c8f206f6e8b64fb4 (patch) | |
tree | 9cbf1b56a932b80bb46d0ea89a6fd53f9a00596a | |
parent | 351eb8d97ea1520f87ae762faf297083a716c945 (diff) | |
download | wallabag-c7935f32d2cd7fd29dbc7b07c8f206f6e8b64fb4.tar.gz wallabag-c7935f32d2cd7fd29dbc7b07c8f206f6e8b64fb4.tar.zst wallabag-c7935f32d2cd7fd29dbc7b07c8f206f6e8b64fb4.zip |
cs
-rw-r--r-- | src/Wallabag/AnnotationBundle/Controller/WallabagAnnotationController.php | 1 | ||||
-rw-r--r-- | src/Wallabag/ApiBundle/Controller/WallabagRestController.php | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/Wallabag/AnnotationBundle/Controller/WallabagAnnotationController.php b/src/Wallabag/AnnotationBundle/Controller/WallabagAnnotationController.php index 80ac0035..4143c1b6 100644 --- a/src/Wallabag/AnnotationBundle/Controller/WallabagAnnotationController.php +++ b/src/Wallabag/AnnotationBundle/Controller/WallabagAnnotationController.php | |||
@@ -3,7 +3,6 @@ | |||
3 | namespace Wallabag\AnnotationBundle\Controller; | 3 | namespace Wallabag\AnnotationBundle\Controller; |
4 | 4 | ||
5 | use FOS\RestBundle\Controller\FOSRestController; | 5 | use FOS\RestBundle\Controller\FOSRestController; |
6 | use Nelmio\ApiDocBundle\Annotation\ApiDoc; | ||
7 | use Symfony\Component\HttpFoundation\Request; | 6 | use Symfony\Component\HttpFoundation\Request; |
8 | use Symfony\Component\HttpFoundation\Response; | 7 | use Symfony\Component\HttpFoundation\Response; |
9 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter; | 8 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter; |
diff --git a/src/Wallabag/ApiBundle/Controller/WallabagRestController.php b/src/Wallabag/ApiBundle/Controller/WallabagRestController.php index 6275afa0..07d0e1e9 100644 --- a/src/Wallabag/ApiBundle/Controller/WallabagRestController.php +++ b/src/Wallabag/ApiBundle/Controller/WallabagRestController.php | |||
@@ -532,7 +532,6 @@ class WallabagRestController extends FOSRestController | |||
532 | */ | 532 | */ |
533 | public function getAnnotationsAction(Entry $entry) | 533 | public function getAnnotationsAction(Entry $entry) |
534 | { | 534 | { |
535 | |||
536 | $this->validateAuthentication(); | 535 | $this->validateAuthentication(); |
537 | 536 | ||
538 | $annotationRows = $this | 537 | $annotationRows = $this |
@@ -605,7 +604,6 @@ class WallabagRestController extends FOSRestController | |||
605 | */ | 604 | */ |
606 | public function putAnnotationAction(Annotation $annotation, Request $request) | 605 | public function putAnnotationAction(Annotation $annotation, Request $request) |
607 | { | 606 | { |
608 | |||
609 | $this->validateAuthentication(); | 607 | $this->validateAuthentication(); |
610 | 608 | ||
611 | $data = json_decode($request->getContent(), true); | 609 | $data = json_decode($request->getContent(), true); |
@@ -637,7 +635,6 @@ class WallabagRestController extends FOSRestController | |||
637 | */ | 635 | */ |
638 | public function deleteAnnotationAction(Annotation $annotation) | 636 | public function deleteAnnotationAction(Annotation $annotation) |
639 | { | 637 | { |
640 | |||
641 | $this->validateAuthentication(); | 638 | $this->validateAuthentication(); |
642 | 639 | ||
643 | $em = $this->getDoctrine()->getManager(); | 640 | $em = $this->getDoctrine()->getManager(); |