Skip to content
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: remove useless doctstring
Signed-off-by: Thibault Piron <[email protected]>
  • Loading branch information
thpiron committed Dec 13, 2025
commit bdeb14ba9c0b7f6c1bff63251065a6d255b8322c
6 changes: 0 additions & 6 deletions apps/user_ldap/lib/LDAPProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -329,12 +329,6 @@ public function getMultiValueUserAttribute(string $uid, string $attribute): arra
return $values;
}

/**
* Search for a single user in ldap
*
* @return IUser|null Returns a IUser if found in ldap using the configured ldap filter
* @throws \Exception if multiple users has been found (search query should not allow this)
*/
public function findOneUser(string $filter, string $attribute, string $searchTerm): ?IUser {
return $this->userBackend->getUserFromCustomAttribute($filter, $attribute, $searchTerm);
}
Expand Down