From ba822fe2ab77f943f4c0d043d43119b2847b69bc Mon Sep 17 00:00:00 2001 From: Mike Mazur Date: Wed, 13 Aug 2008 07:51:59 +0000 Subject: Revert "Thanks, lulurun, for a patch that clears and refreshes and outdated user" This reverts commit r5823. --- OpenSim/Region/Environment/Scenes/Scene.cs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index c8cfd3a..ef0a119 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs @@ -2459,12 +2459,7 @@ namespace OpenSim.Region.Environment.Scenes m_authenticateHandler.AddNewCircuit(agent.circuitcode, agent); // rewrite session_id CachedUserInfo userinfo = CommsManager.UserProfileCacheService.GetUserDetails(agent.AgentID); - if (userinfo.SessionID != agent.SessionID) // means cache hit but outdated session ID - { - // Let's re-grab the whole user profile, because anything may have changed on the user server. - CommsManager.UserProfileCacheService.RemoveUser(agent.AgentID); - userinfo = CommsManager.UserProfileCacheService.GetUserDetails(agent.AgentID); - } + userinfo.SessionID = agent.SessionID; } else { -- cgit v1.1