Skip to content

Commit 5069903

Browse files
committed
rename variable
1 parent 503cc29 commit 5069903

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

resources/lib/UnityUser.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,14 +101,14 @@ public function init($send_mail = true)
101101
//
102102
// add to org group
103103
//
104-
$orgEntry = $this->getOrgGroup();
104+
$org = $this->getOrgGroup();
105105
// create organization if it doesn't exist
106-
if (!$orgEntry->exists()) {
107-
$orgEntry->init();
106+
if (!$org->exists()) {
107+
$org->init();
108108
}
109109

110-
if (!$orgEntry->inOrg($this)) {
111-
$orgEntry->addUser($this);
110+
if (!$org->inOrg($this)) {
111+
$org->addUser($this);
112112
}
113113

114114
// add to user group as well as user OU

0 commit comments

Comments
 (0)