diff options
author | Justin Clarke Casey | 2008-07-31 15:53:07 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-07-31 15:53:07 +0000 |
commit | 58af0fabeb909452e1db615afd05a1bb78678191 (patch) | |
tree | e71f82df658c8b6aa5ed0308ddc1762cf6586038 /OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs | |
parent | Mantis#1868. Thank you kindly, HomerHorwitz for a patch that: (diff) | |
download | opensim-SC_OLD-58af0fabeb909452e1db615afd05a1bb78678191.zip opensim-SC_OLD-58af0fabeb909452e1db615afd05a1bb78678191.tar.gz opensim-SC_OLD-58af0fabeb909452e1db615afd05a1bb78678191.tar.bz2 opensim-SC_OLD-58af0fabeb909452e1db615afd05a1bb78678191.tar.xz |
* minor: reduce coupling by passing in only session id to CachedUserInfo
Diffstat (limited to 'OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs')
-rw-r--r-- | OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs b/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs index d6421b0..5f98c08 100644 --- a/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs +++ b/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs | |||
@@ -71,7 +71,7 @@ namespace OpenSim.Framework.Communications.Cache | |||
71 | if (!m_userProfiles.ContainsKey(remoteClient.AgentId)) | 71 | if (!m_userProfiles.ContainsKey(remoteClient.AgentId)) |
72 | { | 72 | { |
73 | UserProfileData userProfile = m_commsManager.UserService.GetUserProfile(remoteClient.AgentId); | 73 | UserProfileData userProfile = m_commsManager.UserService.GetUserProfile(remoteClient.AgentId); |
74 | CachedUserInfo userInfo = new CachedUserInfo(m_commsManager, userProfile, remoteClient); | 74 | CachedUserInfo userInfo = new CachedUserInfo(m_commsManager, userProfile, remoteClient.SessionId); |
75 | 75 | ||
76 | if (userInfo.UserProfile != null) | 76 | if (userInfo.UserProfile != null) |
77 | { | 77 | { |