Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Ignore error on ldap_sort as it's getting deprecated. Close #1031
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Mar 17, 2016
1 parent 93dcb62 commit a186e25
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/src/plugins/auth.ldap/class.ldapAuthDriver.php
Expand Up @@ -343,8 +343,7 @@ public function getUserEntries($login = null, $countOnly = false, $offset = -1,
continue;
}
if ($limit != -1) {
//usort($entries, array($this, "userSortFunction"));
ldap_sort($conn[$i], $resourceResult, $this->ldapUserAttr);
@ldap_sort($conn[$i], $resourceResult, $this->ldapUserAttr);
}
$entries = ldap_get_entries($conn[$i], $resourceResult);

Expand Down

0 comments on commit a186e25

Please sign in to comment.