replace hard-coded attribute with the corresponding settings option

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Arthur Schiwon 2017-09-11 12:11:25 +02:00
parent de8626694f
commit 30bf1c158d
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
1 changed files with 1 additions and 1 deletions

View File

@ -333,7 +333,7 @@ class Group_LDAP extends BackendUtility implements \OCP\GroupInterface {
public function getUserGidNumber($dn) {
$gidNumber = false;
if($this->access->connection->hasGidNumber) {
$gidNumber = $this->getEntryGidNumber($dn, 'gidNumber');
$gidNumber = $this->getEntryGidNumber($dn, $this->access->connection->ldapGidNumber);
if($gidNumber === false) {
$this->access->connection->hasGidNumber = false;
}