aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs
diff options
context:
space:
mode:
authorTeravus Ovares2008-04-30 16:08:24 +0000
committerTeravus Ovares2008-04-30 16:08:24 +0000
commita9cc76e0efba7496909d613c75b81de6a9c5d979 (patch)
treee83763d4dfb3b78ead9b5926dce1d2468b496845 /OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs
parentmove IUserService into the OpenSim.Framework.Communications assembly (diff)
downloadopensim-SC_OLD-a9cc76e0efba7496909d613c75b81de6a9c5d979.zip
opensim-SC_OLD-a9cc76e0efba7496909d613c75b81de6a9c5d979.tar.gz
opensim-SC_OLD-a9cc76e0efba7496909d613c75b81de6a9c5d979.tar.bz2
opensim-SC_OLD-a9cc76e0efba7496909d613c75b81de6a9c5d979.tar.xz
* Long awaited patch from A_Biondi Mantis 923. Kept alive by Melanie. Thanks A_Biondi and Melanie!
* This builds but might not work. JustinCC will examine.. it may work out of the box.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs b/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs
index 65f3ee3..5b72f0d 100644
--- a/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs
+++ b/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs
@@ -229,6 +229,21 @@ namespace OpenSim.Region.Communications.OGS1
229 } 229 }
230 } 230 }
231 231
232 // TODO: this is a temporary workaround, the UpdateInventoryItem method need to be implemented
233 public void UpdateInventoryItem(LLUUID userID, InventoryItemBase item)
234 {
235 try
236 {
237 SynchronousRestObjectPoster.BeginPostObject<InventoryItemBase, bool>(
238 "POST", _inventoryServerUrl + "/NewItem/", item);
239 }
240 catch (System.Net.WebException e)
241 {
242 m_log.ErrorFormat("[OGS1 INVENTORY SERVICE]: Add new inventory item operation failed, {0} {1}",
243 e.Source, e.Message);
244 }
245 }
246
232 /// <summary> 247 /// <summary>
233 /// <see cref="OpenSim.Framework.Communications.IInventoryServices"></see> 248 /// <see cref="OpenSim.Framework.Communications.IInventoryServices"></see>
234 /// </summary> 249 /// </summary>