remove debug
This commit is contained in:
parent
d44cf750a2
commit
52508cc24e
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue