]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
remove debug lines
authorNicolas Lœuillet <nicolas@loeuillet.org>
Thu, 26 Feb 2015 11:35:59 +0000 (12:35 +0100)
committerNicolas Lœuillet <nicolas@loeuillet.org>
Fri, 6 Mar 2015 20:09:15 +0000 (21:09 +0100)
src/Wallabag/CoreBundle/Controller/WallabagRestController.php
src/Wallabag/CoreBundle/Repository/EntryRepository.php
src/Wallabag/CoreBundle/Tests/Controller/WallabagRestControllerTest.php

index 81bfbe12a58bf40a0facf908f6f711a36a6b834a..4215e4478ddcfc66487ebbb9b5085f56a1072c1a 100644 (file)
@@ -237,8 +237,6 @@ class WallabagRestController extends Controller
      */
     public function getEntriesTagsAction(Entry $entry)
     {
-        var_dump($entry->getUser()->getId());
-        var_dump($this->getUser()->getId());
         if ($entry->getUser()->getId() != $this->getUser()->getId()) {
             throw $this->createAccessDeniedException();
         }
index a8085ac9cbeb01bdc4c7bb6331ef1b72f6380765..e102edc7a3ffe4ae0d645694cc15f9a6c668a076 100644 (file)
@@ -132,9 +132,5 @@ class EntryRepository extends EntityRepository
             ->where('t.user=:userId')->setParameter('userId', 1);
 
         return $qb->getQuery()->getOneOrNullResult();
-
-        return $qb
-            ->getQuery()
-            ->getOneOrNullResult();
     }
 }
index 044485376780709117682a59c48128ee54280a3d..b0f4a84254a26eaeea9452b7fd65a68726d0de81 100644 (file)
@@ -163,8 +163,6 @@ class WallabagRestControllerTest extends WallabagTestCase
             ->getRepository('WallabagCoreBundle:Entry')
             ->findOneWithTags(1);
 
-        var_dump($entry->getTitle());
-
         if (!$entry) {
             $this->markTestSkipped('No content found in db.');
         }