aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2020-06-08 17:52:43 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2020-06-09 08:23:42 +0000
commit5b63593956385cabe6eda427180da8ce1ddf4332 (patch)
tree0509897f543f5549ab91f1c263f6d9471f48de90
parentb20b92441e84a35f36fd770926a2866ce0f34a8f (diff)
downloadnextcloud-server-5b63593956385cabe6eda427180da8ce1ddf4332.tar.gz
nextcloud-server-5b63593956385cabe6eda427180da8ce1ddf4332.zip
clear LDAP cache after user deletion
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
-rw-r--r--apps/user_ldap/lib/User_LDAP.php1
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;
}