aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/UserServer/UserManager.cs
diff options
context:
space:
mode:
authorCharles Krinke2008-07-20 22:16:50 +0000
committerCharles Krinke2008-07-20 22:16:50 +0000
commit681433c4b75b30ddd5299b23a56fb706f1edb7ae (patch)
tree2c0fc53a151123447cead4b7320c70df41789746 /OpenSim/Grid/UserServer/UserManager.cs
parentChange the OopenSim.ini default to 256m for nonphysical prims, to (diff)
downloadopensim-SC-681433c4b75b30ddd5299b23a56fb706f1edb7ae.zip
opensim-SC-681433c4b75b30ddd5299b23a56fb706f1edb7ae.tar.gz
opensim-SC-681433c4b75b30ddd5299b23a56fb706f1edb7ae.tar.bz2
opensim-SC-681433c4b75b30ddd5299b23a56fb706f1edb7ae.tar.xz
Mantis#1796. Thank you kindly, StrawberryFride for a patch that:
Agent table code (INSERT / UPDATE, etc) now added to MSSQL provider.
Diffstat (limited to 'OpenSim/Grid/UserServer/UserManager.cs')
-rw-r--r--OpenSim/Grid/UserServer/UserManager.cs25
1 files changed, 6 insertions, 19 deletions
diff --git a/OpenSim/Grid/UserServer/UserManager.cs b/OpenSim/Grid/UserServer/UserManager.cs
index d4fb187..b48f20e 100644
--- a/OpenSim/Grid/UserServer/UserManager.cs
+++ b/OpenSim/Grid/UserServer/UserManager.cs
@@ -190,28 +190,15 @@ namespace OpenSim.Grid.UserServer
190 { 190 {
191 // ulong cregionhandle = 0; 191 // ulong cregionhandle = 0;
192 LLUUID regionUUID = LLUUID.Zero; 192 LLUUID regionUUID = LLUUID.Zero;
193 LLUUID AvatarID = LLUUID.Zero; 193 LLUUID avatarUUID = LLUUID.Zero;
194 194
195 Helpers.TryParse((string)requestData["avatar_id"], out AvatarID); 195 Helpers.TryParse((string)requestData["avatar_id"], out avatarUUID);
196 Helpers.TryParse((string)requestData["region_uuid"], out regionUUID); 196 Helpers.TryParse((string)requestData["region_uuid"], out regionUUID);
197 // try 197
198 // { 198 if (avatarUUID != LLUUID.Zero)
199 // cregionhandle = (ulong)Convert.ToInt64((string)requestData["region_handle"]);
200 // }
201 // catch (ArgumentException)
202 // {
203 // }
204 // catch (OverflowException)
205 // {
206 // }
207 // catch (FormatException)
208 // {
209 // }
210
211 if (AvatarID != LLUUID.Zero)
212 { 199 {
213 UserProfileData userProfile = GetUserProfile(new LLUUID((string)requestData["avatar_id"])); 200 UserProfileData userProfile = GetUserProfile(avatarUUID);
214 userProfile.CurrentAgent.Region = new LLUUID((string)requestData["region_uuid"]); 201 userProfile.CurrentAgent.Region = regionUUID;
215 userProfile.CurrentAgent.Handle = (ulong)Convert.ToInt64((string)requestData["region_handle"]); 202 userProfile.CurrentAgent.Handle = (ulong)Convert.ToInt64((string)requestData["region_handle"]);
216 //userProfile.CurrentAgent. 203 //userProfile.CurrentAgent.
217 CommitAgent(ref userProfile); 204 CommitAgent(ref userProfile);