diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2020-06-09 10:21:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-09 10:21:45 +0200 |
commit | 959a0be4aa10669f9f48b037f8850f43871d5413 (patch) | |
tree | f2885174964a3910d44352d8a22594f1fb81e0e4 /apps/user_ldap | |
parent | 57ed51983943dda338c01f2d7a7c7d2b19e6bd69 (diff) | |
parent | 4edf8630c468430b72a1aac84504d8c932abee48 (diff) | |
download | nextcloud-server-959a0be4aa10669f9f48b037f8850f43871d5413.tar.gz nextcloud-server-959a0be4aa10669f9f48b037f8850f43871d5413.zip |
Merge pull request #21318 from nextcloud/fix/noid/user-delete-clear-ldap-cache
clear LDAP cache after user deletion
Diffstat (limited to 'apps/user_ldap')
-rw-r--r-- | apps/user_ldap/lib/User_LDAP.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/user_ldap/lib/User_LDAP.php b/apps/user_ldap/lib/User_LDAP.php index c605aaad544..79f230ae00b 100644 --- a/apps/user_ldap/lib/User_LDAP.php +++ b/apps/user_ldap/lib/User_LDAP.php @@ -389,6 +389,7 @@ class User_LDAP extends BackendUtility implements \OCP\IUserBackend, \OCP\UserIn $this->access->getUserMapper()->unmap($uid); // we don't emit unassign signals here, since it is implicit to delete signals fired from core $this->access->userManager->invalidate($uid); + $this->access->connection->clearCache(); return true; } |