diff options
Diffstat (limited to 'src/Wallabag')
-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(); |