aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ApiBundle/Controller
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag/ApiBundle/Controller')
-rw-r--r--src/Wallabag/ApiBundle/Controller/WallabagRestController.php3
1 files changed, 0 insertions, 3 deletions
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();