Skip to content

Commit

Permalink
reste de la méthode statique supprimée
Browse files Browse the repository at this point in the history
  • Loading branch information
teymour committed Apr 30, 2024
1 parent f4e8ab8 commit 7c38277
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ public function updateLdap($verbose = 0) {
}
}

$ldapUid = CompteLdap::getIdentifiant($this);
$ldapUid = $this->login;

foreach ($groupldap->getMembership($ldapUid) as $groupe) {
$groupldap->removeMember($groupe, $ldapUid);
Expand All @@ -733,7 +733,7 @@ public function updateLdap($verbose = 0) {
}
}
} else {
CompteClient::getInstance()->deleteLdapCompte(CompteLdap::getIdentifiant($this));
CompteClient::getInstance()->deleteLdapCompte($this->login);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public function saveCompte($compte, $verbose = 0)
echo "save : ";
print_r($info);
}
return $this->save(self::getIdentifiant($compte), $info);
return $this->save($compte->login, $info);
}

/**
Expand Down

0 comments on commit 7c38277

Please sign in to comment.