Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
e
infra
ecloud
nextcloud-apps
Ecloud Accounts
Commits
d93e2c75
Commit
d93e2c75
authored
May 24, 2022
by
Akhil
😶
Browse files
Remove $uid from getLDAPConnection
parent
e9cdc983
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/Listeners/BeforeUserDeletedListener.php
View file @
d93e2c75
...
...
@@ -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
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment