Commit d93e2c75 authored by Akhil's avatar Akhil 😶
Browse files

Remove $uid from getLDAPConnection

parent e9cdc983
......@@ -35,7 +35,7 @@ class BeforeUserDeletedListener implements IEventListener
try {
if ($this->LDAPConnectionService->isLDAPEnabled() && $this->LDAPConnectionService->isUserOnLDAPBackend($user)) {
$conn = $this->LDAPConnectionService->getLDAPConnection($uid);
$conn = $this->LDAPConnectionService->getLDAPConnection();
$this->deleteAliasEntries($conn, $email);
$this->LDAPConnectionService->closeLDAPConnection($conn);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment