From e9153e1d1aae50024d8cd05fe14a9bce34343a0e Mon Sep 17 00:00:00 2001
From: teravus
Date: Thu, 15 Nov 2012 10:05:16 -0500
Subject: Revert "Merge master into teravuswork", it should have been
avination, not master.
This reverts commit dfac269032300872c4d0dc507f4f9062d102b0f4, reversing
changes made to 619c39e5144f15aca129d6d999bcc5c34133ee64.
---
.../Server/Handlers/Avatar/AvatarServerPostHandler.cs | 18 ------------------
1 file changed, 18 deletions(-)
(limited to 'OpenSim/Server/Handlers/Avatar/AvatarServerPostHandler.cs')
diff --git a/OpenSim/Server/Handlers/Avatar/AvatarServerPostHandler.cs b/OpenSim/Server/Handlers/Avatar/AvatarServerPostHandler.cs
index 8cd747e..393584e 100644
--- a/OpenSim/Server/Handlers/Avatar/AvatarServerPostHandler.cs
+++ b/OpenSim/Server/Handlers/Avatar/AvatarServerPostHandler.cs
@@ -137,8 +137,6 @@ namespace OpenSim.Server.Handlers.Avatar
if (!UUID.TryParse(request["UserID"].ToString(), out user))
return FailureResult();
- RemoveRequestParamsNotForStorage(request);
-
AvatarData avatar = new AvatarData(request);
if (m_AvatarService.SetAvatar(user, avatar))
return SuccessResult();
@@ -155,25 +153,11 @@ namespace OpenSim.Server.Handlers.Avatar
if (!UUID.TryParse(request["UserID"].ToString(), out user))
return FailureResult();
- RemoveRequestParamsNotForStorage(request);
-
if (m_AvatarService.ResetAvatar(user))
return SuccessResult();
return FailureResult();
}
-
- ///
- /// Remove parameters that were used to invoke the method and should not in themselves be persisted.
- ///
- ///
- private void RemoveRequestParamsNotForStorage(Dictionary request)
- {
- request.Remove("VERSIONMAX");
- request.Remove("VERSIONMIN");
- request.Remove("METHOD");
- request.Remove("UserID");
- }
byte[] SetItems(Dictionary request)
{
@@ -189,8 +173,6 @@ namespace OpenSim.Server.Handlers.Avatar
if (!(request["Names"] is List || request["Values"] is List))
return FailureResult();
- RemoveRequestParamsNotForStorage(request);
-
List _names = (List)request["Names"];
names = _names.ToArray();
List _values = (List)request["Values"];
--
cgit v1.1