remove debug

This commit is contained in:
mckmonster 2024-09-04 16:26:29 +02:00
parent d44cf750a2
commit 52508cc24e

View file

@ -22,7 +22,7 @@ class Eleve {
foreach ($entryManager->search(['formsIds' => 9, 'queries' => ['listefiche7bf_eleve' => $userId]]) as $parent) {
array_push($this->parents, new ParentEleve($entryManager, $yunoshostFormId, $parent));
}
echo "<p>".var_dump($this)."</p>";
// echo "<p>".var_dump($this)."</p>";
}
public function getId() {
@ -71,7 +71,7 @@ class Eleve {
public function isParent($username) {
// echo "<p>username :".$username."</p>";
foreach ($this->parents as $parent) {
echo "<p>parent :".$parent->getUserId()."</p>";
// echo "<p>parent :".$parent->getUserId()."</p>";
if ($parent->getUserId() == $username) {
return true;
}