/** * checks whether a user is still existing in LDAP * @param string[] $user */ private function checkUser(array $user) { if ($this->userBackend->userExistsOnLDAP($user['name'])) { //still available, all good return; } $this->dui->markUser($user['name']); }