also unmark deleted ldap user when checking the ldap entry

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2023-03-02 16:22:17 +01:00 committed by backportbot-nextcloud[bot]
parent b79d832d79
commit 4f7e311651

View file

@ -335,8 +335,6 @@ class User_LDAP extends BackendUtility implements IUserBackend, UserInterface, I
return false;
}
$this->access->getUserMapper()->setDNbyUUID($newDn, $uuid);
$this->access->connection->writeToCache($cacheKey, true);
return true;
} catch (ServerNotAvailableException $e) {
throw $e;
} catch (\Exception $e) {