From 8d9ec16eafc7118d43773b556842cf4b3854d10b Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Thu, 2 Mar 2023 16:22:17 +0100 Subject: [PATCH] also unmark deleted ldap user when checking the ldap entry Signed-off-by: Robin Appelman --- apps/user_ldap/lib/User_LDAP.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/user_ldap/lib/User_LDAP.php b/apps/user_ldap/lib/User_LDAP.php index f855dcb1fd670..772b2f4609517 100644 --- a/apps/user_ldap/lib/User_LDAP.php +++ b/apps/user_ldap/lib/User_LDAP.php @@ -335,8 +335,6 @@ public function userExistsOnLDAP($user, bool $ignoreCache = false): bool { return false; } $this->access->getUserMapper()->setDNbyUUID($newDn, $uuid); - $this->access->connection->writeToCache($cacheKey, true); - return true; } catch (ServerNotAvailableException $e) { throw $e; } catch (\Exception $e) {