diff options
author | Mike Mazur | 2008-08-13 07:51:59 +0000 |
---|---|---|
committer | Mike Mazur | 2008-08-13 07:51:59 +0000 |
commit | ba822fe2ab77f943f4c0d043d43119b2847b69bc (patch) | |
tree | f274dd8f686772fa8d6877c1ebc466813d77a0bd /OpenSim/Region/Environment/Scenes/Scene.cs | |
parent | Thanks, lulurun, for a patch that clears and refreshes and outdated user (diff) | |
download | opensim-SC_OLD-ba822fe2ab77f943f4c0d043d43119b2847b69bc.zip opensim-SC_OLD-ba822fe2ab77f943f4c0d043d43119b2847b69bc.tar.gz opensim-SC_OLD-ba822fe2ab77f943f4c0d043d43119b2847b69bc.tar.bz2 opensim-SC_OLD-ba822fe2ab77f943f4c0d043d43119b2847b69bc.tar.xz |
Revert "Thanks, lulurun, for a patch that clears and refreshes and outdated user"
This reverts commit r5823.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 7 |
1 files changed, 1 insertions, 6 deletions
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 | |||
2459 | m_authenticateHandler.AddNewCircuit(agent.circuitcode, agent); | 2459 | m_authenticateHandler.AddNewCircuit(agent.circuitcode, agent); |
2460 | // rewrite session_id | 2460 | // rewrite session_id |
2461 | CachedUserInfo userinfo = CommsManager.UserProfileCacheService.GetUserDetails(agent.AgentID); | 2461 | CachedUserInfo userinfo = CommsManager.UserProfileCacheService.GetUserDetails(agent.AgentID); |
2462 | if (userinfo.SessionID != agent.SessionID) // means cache hit but outdated session ID | 2462 | userinfo.SessionID = agent.SessionID; |
2463 | { | ||
2464 | // Let's re-grab the whole user profile, because anything may have changed on the user server. | ||
2465 | CommsManager.UserProfileCacheService.RemoveUser(agent.AgentID); | ||
2466 | userinfo = CommsManager.UserProfileCacheService.GetUserDetails(agent.AgentID); | ||
2467 | } | ||
2468 | } | 2463 | } |
2469 | else | 2464 | else |
2470 | { | 2465 | { |