Skip to content

Commit

Permalink
Merge pull request #21333 from nextcloud/backport/21318/stable19
Browse files Browse the repository at this point in the history
[stable19] clear LDAP cache after user deletion
  • Loading branch information
rullzer authored Jun 9, 2020
2 parents b20b924 + 5b63593 commit 3b404a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/user_ldap/lib/User_LDAP.php
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@ public function deleteUser($uid) {

$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;
}

Expand Down

0 comments on commit 3b404a8

Please sign in to comment.