Skip to content
This repository was archived by the owner on Jul 24, 2023. It is now read-only.

Commit 17963bf

Browse files
committed
Use getAdldap trait method for current instance.
1 parent 197f85b commit 17963bf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Traits/ImportsUsers.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,7 @@ protected function handleAttributeRetrieval(User $user, $field)
206206
*/
207207
protected function newAdldapUserQuery()
208208
{
209-
/** @var \Adldap\Query\Builder $query */
210-
$query = Adldap::getDefaultProvider()->search()->users();
209+
$query = $this->getAdldap()->search()->users();
211210

212211
$filter = $this->getLimitationFilter();
213212

0 commit comments

Comments
 (0)