]> source.dussan.org Git - nextcloud-server.git/commitdiff
clear LDAP cache after user deletion 21334/head
authorArthur Schiwon <blizzz@arthur-schiwon.de>
Mon, 8 Jun 2020 15:52:43 +0000 (17:52 +0200)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Tue, 9 Jun 2020 08:25:42 +0000 (08:25 +0000)
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
apps/user_ldap/lib/User_LDAP.php

index 323e59860f30a725eb23af214ff4c054f91672d0..9609df3032528a9183c44df13ba7c233bab24969 100644 (file)
@@ -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;
        }