diff options
Diffstat (limited to 'OpenSim/Region/Communications')
-rw-r--r-- | OpenSim/Region/Communications/OGS1/OGS1InventoryService.cs | 20 |
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 |