aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2016-03-18 22:23:49 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-10-22 09:06:07 +0200
commitc7935f32d2cd7fd29dbc7b07c8f206f6e8b64fb4 (patch)
tree9cbf1b56a932b80bb46d0ea89a6fd53f9a00596a
parent351eb8d97ea1520f87ae762faf297083a716c945 (diff)
downloadwallabag-c7935f32d2cd7fd29dbc7b07c8f206f6e8b64fb4.tar.gz
wallabag-c7935f32d2cd7fd29dbc7b07c8f206f6e8b64fb4.tar.zst
wallabag-c7935f32d2cd7fd29dbc7b07c8f206f6e8b64fb4.zip
cs
-rw-r--r--src/Wallabag/AnnotationBundle/Controller/WallabagAnnotationController.php1
-rw-r--r--src/Wallabag/ApiBundle/Controller/WallabagRestController.php3
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 @@
3namespace Wallabag\AnnotationBundle\Controller; 3namespace Wallabag\AnnotationBundle\Controller;
4 4
5use FOS\RestBundle\Controller\FOSRestController; 5use FOS\RestBundle\Controller\FOSRestController;
6use Nelmio\ApiDocBundle\Annotation\ApiDoc;
7use Symfony\Component\HttpFoundation\Request; 6use Symfony\Component\HttpFoundation\Request;
8use Symfony\Component\HttpFoundation\Response; 7use Symfony\Component\HttpFoundation\Response;
9use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter; 8use 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();