diff options
author | BlueWall | 2014-07-21 12:42:16 -0400 |
---|---|---|
committer | BlueWall | 2014-07-21 12:46:26 -0400 |
commit | 4a9282e681f9b1a5410028b473af47d0896f81e6 (patch) | |
tree | 44a9b9cc0885a5779a499d7b075e36ecb05e4901 /OpenSim/Server/Handlers/Profiles | |
parent | Fixed: after a Hypergrid teleport, attachments often either disappear, or app... (diff) | |
download | opensim-SC-4a9282e681f9b1a5410028b473af47d0896f81e6.zip opensim-SC-4a9282e681f9b1a5410028b473af47d0896f81e6.tar.gz opensim-SC-4a9282e681f9b1a5410028b473af47d0896f81e6.tar.bz2 opensim-SC-4a9282e681f9b1a5410028b473af47d0896f81e6.tar.xz |
Add missing parts to profiles - classified delete
Diffstat (limited to 'OpenSim/Server/Handlers/Profiles')
-rw-r--r-- | OpenSim/Server/Handlers/Profiles/UserProfilesHandlers.cs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Server/Handlers/Profiles/UserProfilesHandlers.cs b/OpenSim/Server/Handlers/Profiles/UserProfilesHandlers.cs index d55142e..6721b08 100644 --- a/OpenSim/Server/Handlers/Profiles/UserProfilesHandlers.cs +++ b/OpenSim/Server/Handlers/Profiles/UserProfilesHandlers.cs | |||
@@ -126,14 +126,14 @@ namespace OpenSim.Server.Handlers | |||
126 | } | 126 | } |
127 | 127 | ||
128 | OSDMap request = (OSDMap)json["params"]; | 128 | OSDMap request = (OSDMap)json["params"]; |
129 | UUID classifiedId = new UUID(request["classifiedID"].AsString()); | 129 | UUID classifiedId = new UUID(request["classifiedId"].AsString()); |
130 | |||
131 | OSDMap res = new OSDMap(); | ||
132 | res["result"] = OSD.FromString("success"); | ||
133 | response.Result = res; | ||
134 | |||
135 | return true; | ||
136 | 130 | ||
131 | if(Service.ClassifiedDelete(classifiedId)) | ||
132 | return true; | ||
133 | |||
134 | response.Error.Code = ErrorCode.InternalError; | ||
135 | response.Error.Message = "data error removing record"; | ||
136 | return false; | ||
137 | } | 137 | } |
138 | 138 | ||
139 | public bool ClassifiedInfoRequest(OSDMap json, ref JsonRpcResponse response) | 139 | public bool ClassifiedInfoRequest(OSDMap json, ref JsonRpcResponse response) |