From b63405c1a796b44b58081857d01f726372467628 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Fri, 8 Jan 2010 10:43:34 -0800 Subject: Inching ahead... This compiles, but very likely does not run. --- .../InterGrid/OpenGridProtocolModule.cs | 38 ++++++++++++---------- 1 file changed, 20 insertions(+), 18 deletions(-) (limited to 'OpenSim/Region/CoreModules/InterGrid') diff --git a/OpenSim/Region/CoreModules/InterGrid/OpenGridProtocolModule.cs b/OpenSim/Region/CoreModules/InterGrid/OpenGridProtocolModule.cs index 10a3232..cf7bcef 100644 --- a/OpenSim/Region/CoreModules/InterGrid/OpenGridProtocolModule.cs +++ b/OpenSim/Region/CoreModules/InterGrid/OpenGridProtocolModule.cs @@ -534,26 +534,28 @@ namespace OpenSim.Region.CoreModules.InterGrid userProfile.WantDoMask = 0; userProfile.WebLoginKey = UUID.Random(); - // Do caps registration - // get seed capagentData.firstname = FirstName;agentData.lastname = LastName; - if (homeScene.CommsManager.UserService.GetUserProfile(agentData.AgentID) == null && !GridMode) - { - homeScene.CommsManager.UserAdminService.AddUser( - agentData.firstname, agentData.lastname, CreateRandomStr(7), "", - homeScene.RegionInfo.RegionLocX, homeScene.RegionInfo.RegionLocY, agentData.AgentID); + // !!! REFACTORING PROBLEM. This needs to be changed for 0.7 + // + //// Do caps registration + //// get seed capagentData.firstname = FirstName;agentData.lastname = LastName; + //if (homeScene.CommsManager.UserService.GetUserProfile(agentData.AgentID) == null && !GridMode) + //{ + // homeScene.CommsManager.UserAdminService.AddUser( + // agentData.firstname, agentData.lastname, CreateRandomStr(7), "", + // homeScene.RegionInfo.RegionLocX, homeScene.RegionInfo.RegionLocY, agentData.AgentID); - UserProfileData userProfile2 = homeScene.CommsManager.UserService.GetUserProfile(agentData.AgentID); - if (userProfile2 != null) - { - userProfile = userProfile2; - userProfile.AboutText = "OGP USER"; - userProfile.FirstLifeAboutText = "OGP USER"; - homeScene.CommsManager.UserService.UpdateUserProfile(userProfile); - } - } + // UserProfileData userProfile2 = homeScene.CommsManager.UserService.GetUserProfile(agentData.AgentID); + // if (userProfile2 != null) + // { + // userProfile = userProfile2; + // userProfile.AboutText = "OGP USER"; + // userProfile.FirstLifeAboutText = "OGP USER"; + // homeScene.CommsManager.UserService.UpdateUserProfile(userProfile); + // } + //} - // Stick our data in the cache so the region will know something about us - homeScene.CommsManager.UserProfileCacheService.PreloadUserCache(userProfile); + //// Stick our data in the cache so the region will know something about us + //homeScene.CommsManager.UserProfileCacheService.PreloadUserCache(userProfile); // Call 'new user' event handler string reason; -- cgit v1.1