aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs
diff options
context:
space:
mode:
authorCharles Krinke2008-06-11 14:02:16 +0000
committerCharles Krinke2008-06-11 14:02:16 +0000
commit7821cca2f5a7c31a41446656f218fdaf450969c0 (patch)
treea5ac8102278c6011dd211b372776280c0863cc26 /OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs
parentMantis#1528. Thank you kindly, Boscata for: (diff)
downloadopensim-SC-7821cca2f5a7c31a41446656f218fdaf450969c0.zip
opensim-SC-7821cca2f5a7c31a41446656f218fdaf450969c0.tar.gz
opensim-SC-7821cca2f5a7c31a41446656f218fdaf450969c0.tar.bz2
opensim-SC-7821cca2f5a7c31a41446656f218fdaf450969c0.tar.xz
Mantis#1514. Thank you kindly, Boscata for an InventoryServer patch
to allow the InventoryServer to work with MSSQL..
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs b/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs
index 9b3d878..dfc741a 100644
--- a/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs
+++ b/OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs
@@ -179,6 +179,26 @@ namespace OpenSim.Region.Communications.OGS1
179 /// <see cref="OpenSim.Framework.Communications.IInventoryServices"></see> 179 /// <see cref="OpenSim.Framework.Communications.IInventoryServices"></see>
180 /// </summary> 180 /// </summary>
181 /// <param name="folder"></param> 181 /// <param name="folder"></param>
182 public bool UpdateFolder(InventoryFolderBase folder)
183 {
184 try
185 {
186 return SynchronousRestObjectPoster.BeginPostObject<InventoryFolderBase, bool>(
187 "POST", _inventoryServerUrl + "/UpdateFolder/", folder);
188 }
189 catch (WebException e)
190 {
191 m_log.ErrorFormat("[OGS1 INVENTORY SERVICE]: Update inventory folder operation failed, {0} {1}",
192 e.Source, e.Message);
193 }
194
195 return false;
196 }
197
198 /// <summary>
199 /// <see cref="OpenSim.Framework.Communications.IInventoryServices"></see>
200 /// </summary>
201 /// <param name="folder"></param>
182 public bool MoveFolder(InventoryFolderBase folder) 202 public bool MoveFolder(InventoryFolderBase folder)
183 { 203 {
184 try 204 try