remove echoe
This commit is contained in:
parent
60a6dd2d38
commit
2a48992a27
2 changed files with 2 additions and 2 deletions
|
@ -58,7 +58,7 @@ class EleveManager {
|
||||||
public function getCurrentEleve(string $username) {
|
public function getCurrentEleve(string $username) {
|
||||||
$all = $this->getAll();
|
$all = $this->getAll();
|
||||||
foreach ($all as $eleve) {
|
foreach ($all as $eleve) {
|
||||||
echo "<p>".var_dump($eleve)."</p>";
|
// echo "<p>".var_dump($eleve)."</p>";
|
||||||
if ($eleve->getUserId() == $username)
|
if ($eleve->getUserId() == $username)
|
||||||
return $eleve;
|
return $eleve;
|
||||||
}
|
}
|
||||||
|
|
|
@ -44,7 +44,7 @@ class NoteManager {
|
||||||
include 'tools/meeo/libs/bulletin/Bulletin.lib.php';
|
include 'tools/meeo/libs/bulletin/Bulletin.lib.php';
|
||||||
|
|
||||||
$loggedUser = $this->authController->getLoggedUser();
|
$loggedUser = $this->authController->getLoggedUser();
|
||||||
echo "<p>".var_dump($loggedUser)."</p>";
|
// echo "<p>".var_dump($loggedUser)."</p>";
|
||||||
if ($this->userManager->isInGroup($this->eeGroup, $loggedUser['name'], false)) {
|
if ($this->userManager->isInGroup($this->eeGroup, $loggedUser['name'], false)) {
|
||||||
$eleves = $eleveManager->getAll();
|
$eleves = $eleveManager->getAll();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue