Skip to content

Commit 8b07d77

Browse files
committed
rename getLDAPGroup to getGroupEntry
1 parent fe6aaa0 commit 8b07d77

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

resources/lib/UnityUser.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function init($firstname, $lastname, $email, $org, $send_mail = true)
6060
//
6161
// Create LDAP group
6262
//
63-
$ldapGroupEntry = $this->getLDAPGroup();
63+
$ldapGroupEntry = $this->getGroupEntry();
6464
$id = $this->LDAP->getUnassignedID($this->uid, $this->SQL);
6565

6666
if (!$ldapGroupEntry->exists()) {
@@ -146,14 +146,14 @@ public function init($firstname, $lastname, $email, $org, $send_mail = true)
146146
*
147147
* @return ldapEntry posix group
148148
*/
149-
public function getLDAPGroup()
149+
public function getGroupEntry()
150150
{
151151
return $this->LDAP->getGroupEntry($this->uid);
152152
}
153153

154154
public function exists()
155155
{
156-
return $this->entry->exists() && $this->getLDAPGroup()->exists();
156+
return $this->entry->exists() && $this->getGroupEntry()->exists();
157157
}
158158

159159
//

0 commit comments

Comments
 (0)