Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2020-06-08 18:52:43 +0300
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2020-06-09 11:23:42 +0300
commit5b63593956385cabe6eda427180da8ce1ddf4332 (patch)
tree0509897f543f5549ab91f1c263f6d9471f48de90 /apps/user_ldap
parentb20b92441e84a35f36fd770926a2866ce0f34a8f (diff)
clear LDAP cache after user deletion
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/user_ldap')
-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;
}