* minor: Eliminate redundant argument in PreloadUserCache

0.6.5-rc1
Justin Clarke Casey 2009-04-16 20:24:11 +00:00
parent cab7a2a45c
commit 235ae95b50
3 changed files with 3 additions and 4 deletions

View File

@ -218,9 +218,8 @@ namespace OpenSim.Framework.Communications.Cache
/// <summary> /// <summary>
/// Preloads User data into the region cache. Modules may use this service to add non-standard clients /// Preloads User data into the region cache. Modules may use this service to add non-standard clients
/// </summary> /// </summary>
/// <param name="userID"></param>
/// <param name="userData"></param> /// <param name="userData"></param>
public void PreloadUserCache(UUID userID, UserProfileData userData) public void PreloadUserCache(UserProfileData userData)
{ {
AddToCaches(userData); AddToCaches(userData);
} }

View File

@ -777,7 +777,7 @@ namespace OpenSim.Region.Communications.Hypergrid
//m_log.Debug("XXX---- EVERYTHING OK ---XXX"); //m_log.Debug("XXX---- EVERYTHING OK ---XXX");
// 1 - Preload the user data // 1 - Preload the user data
m_userProfileCache.PreloadUserCache(userData.ID, userData); m_userProfileCache.PreloadUserCache(userData);
if (m_knownRegions.ContainsKey(userData.ID)) if (m_knownRegions.ContainsKey(userData.ID))
{ {

View File

@ -542,7 +542,7 @@ namespace OpenSim.Region.CoreModules.InterGrid
} }
// Stick our data in the cache so the region will know something about us // Stick our data in the cache so the region will know something about us
homeScene.CommsManager.UserProfileCacheService.PreloadUserCache(agentData.AgentID, userProfile); homeScene.CommsManager.UserProfileCacheService.PreloadUserCache(userProfile);
// Call 'new user' event handler // Call 'new user' event handler
homeScene.NewUserConnection(agentData); homeScene.NewUserConnection(agentData);