* minor: Eliminate redundant argument in PreloadUserCache
parent
cab7a2a45c
commit
235ae95b50
|
@ -218,9 +218,8 @@ namespace OpenSim.Framework.Communications.Cache
|
|||
/// <summary>
|
||||
/// Preloads User data into the region cache. Modules may use this service to add non-standard clients
|
||||
/// </summary>
|
||||
/// <param name="userID"></param>
|
||||
/// <param name="userData"></param>
|
||||
public void PreloadUserCache(UUID userID, UserProfileData userData)
|
||||
public void PreloadUserCache(UserProfileData userData)
|
||||
{
|
||||
AddToCaches(userData);
|
||||
}
|
||||
|
|
|
@ -777,7 +777,7 @@ namespace OpenSim.Region.Communications.Hypergrid
|
|||
//m_log.Debug("XXX---- EVERYTHING OK ---XXX");
|
||||
|
||||
// 1 - Preload the user data
|
||||
m_userProfileCache.PreloadUserCache(userData.ID, userData);
|
||||
m_userProfileCache.PreloadUserCache(userData);
|
||||
|
||||
if (m_knownRegions.ContainsKey(userData.ID))
|
||||
{
|
||||
|
|
|
@ -542,7 +542,7 @@ namespace OpenSim.Region.CoreModules.InterGrid
|
|||
}
|
||||
|
||||
// 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
|
||||
homeScene.NewUserConnection(agentData);
|
||||
|
|
Loading…
Reference in New Issue