We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0146056 commit 5f06872Copy full SHA for 5f06872
resources/lib/UnityOrg.php
@@ -31,7 +31,7 @@ public function __construct($gid, $LDAP, $SQL, $MAILER, $REDIS, $WEBHOOK)
31
public function init()
32
{
33
\ensure(!$this->entry->exists());
34
- $nextGID = $this->LDAP->getNextOrgGIDNumber($this->SQL);
+ $nextGID = $this->LDAP->getNextOrgGIDNumber();
35
$this->entry->setAttribute("objectclass", UnityLDAP::POSIX_GROUP_CLASS);
36
$this->entry->setAttribute("gidnumber", strval($nextGID));
37
$this->entry->write();
0 commit comments