Skip to content

Commit 5f06872

Browse files
committed
remove redundant argument
1 parent 0146056 commit 5f06872

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/lib/UnityOrg.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function __construct($gid, $LDAP, $SQL, $MAILER, $REDIS, $WEBHOOK)
3131
public function init()
3232
{
3333
\ensure(!$this->entry->exists());
34-
$nextGID = $this->LDAP->getNextOrgGIDNumber($this->SQL);
34+
$nextGID = $this->LDAP->getNextOrgGIDNumber();
3535
$this->entry->setAttribute("objectclass", UnityLDAP::POSIX_GROUP_CLASS);
3636
$this->entry->setAttribute("gidnumber", strval($nextGID));
3737
$this->entry->write();

0 commit comments

Comments
 (0)