mirror of
https://github.com/wallabag/wallabag.git
synced 2024-06-28 10:00:46 +00:00
remove debug lines
This commit is contained in:
parent
092ca70725
commit
d8f9f37ab2
|
@ -237,8 +237,6 @@ class WallabagRestController extends Controller
|
||||||
*/
|
*/
|
||||||
public function getEntriesTagsAction(Entry $entry)
|
public function getEntriesTagsAction(Entry $entry)
|
||||||
{
|
{
|
||||||
var_dump($entry->getUser()->getId());
|
|
||||||
var_dump($this->getUser()->getId());
|
|
||||||
if ($entry->getUser()->getId() != $this->getUser()->getId()) {
|
if ($entry->getUser()->getId() != $this->getUser()->getId()) {
|
||||||
throw $this->createAccessDeniedException();
|
throw $this->createAccessDeniedException();
|
||||||
}
|
}
|
||||||
|
|
|
@ -132,9 +132,5 @@ class EntryRepository extends EntityRepository
|
||||||
->where('t.user=:userId')->setParameter('userId', 1);
|
->where('t.user=:userId')->setParameter('userId', 1);
|
||||||
|
|
||||||
return $qb->getQuery()->getOneOrNullResult();
|
return $qb->getQuery()->getOneOrNullResult();
|
||||||
|
|
||||||
return $qb
|
|
||||||
->getQuery()
|
|
||||||
->getOneOrNullResult();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -163,8 +163,6 @@ class WallabagRestControllerTest extends WallabagTestCase
|
||||||
->getRepository('WallabagCoreBundle:Entry')
|
->getRepository('WallabagCoreBundle:Entry')
|
||||||
->findOneWithTags(1);
|
->findOneWithTags(1);
|
||||||
|
|
||||||
var_dump($entry->getTitle());
|
|
||||||
|
|
||||||
if (!$entry) {
|
if (!$entry) {
|
||||||
$this->markTestSkipped('No content found in db.');
|
$this->markTestSkipped('No content found in db.');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue