aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ApiBundle/Controller/WallabagRestController.php
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 /src/Wallabag/ApiBundle/Controller/WallabagRestController.php
parent351eb8d97ea1520f87ae762faf297083a716c945 (diff)
downloadwallabag-c7935f32d2cd7fd29dbc7b07c8f206f6e8b64fb4.tar.gz
wallabag-c7935f32d2cd7fd29dbc7b07c8f206f6e8b64fb4.tar.zst
wallabag-c7935f32d2cd7fd29dbc7b07c8f206f6e8b64fb4.zip
cs
Diffstat (limited to 'src/Wallabag/ApiBundle/Controller/WallabagRestController.php')
-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();