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