mirror of
https://github.com/wallabag/wallabag.git
synced 2025-02-02 12:02:23 +00:00
remove debug lines
This commit is contained in:
parent
092ca70725
commit
d8f9f37ab2
3 changed files with 0 additions and 8 deletions
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -132,9 +132,5 @@ class EntryRepository extends EntityRepository
|
|||
->where('t.user=:userId')->setParameter('userId', 1);
|
||||
|
||||
return $qb->getQuery()->getOneOrNullResult();
|
||||
|
||||
return $qb
|
||||
->getQuery()
|
||||
->getOneOrNullResult();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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.');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue