From 4f7e31165108d5599696616b8a038702dda4dc92 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 650c974da8173..85c67ac55ebcf 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) {