Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

Remove $uid from getLDAPConnection

parent e9cdc983
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
            }