aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Connectors/Inventory/HGInventoryServiceConnector.cs
diff options
context:
space:
mode:
authorDiva Canto2009-08-18 22:36:03 -0700
committerDiva Canto2009-08-18 22:36:03 -0700
commite5f33e75055a8f83cf4e11a6120774cb90dbc3be (patch)
treec7c8fd3b0a8ece30c39d2fac9929779bc9abc6e8 /OpenSim/Services/Connectors/Inventory/HGInventoryServiceConnector.cs
parentjhurliman's patch in http://opensimulator.org/mantis/view.php?id=4024 (diff)
downloadopensim-SC_OLD-e5f33e75055a8f83cf4e11a6120774cb90dbc3be.zip
opensim-SC_OLD-e5f33e75055a8f83cf4e11a6120774cb90dbc3be.tar.gz
opensim-SC_OLD-e5f33e75055a8f83cf4e11a6120774cb90dbc3be.tar.bz2
opensim-SC_OLD-e5f33e75055a8f83cf4e11a6120774cb90dbc3be.tar.xz
GetFolderItems implemented. It's not being called, but it might.
Diffstat (limited to '')
-rw-r--r--OpenSim/Services/Connectors/Inventory/HGInventoryServiceConnector.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/OpenSim/Services/Connectors/Inventory/HGInventoryServiceConnector.cs b/OpenSim/Services/Connectors/Inventory/HGInventoryServiceConnector.cs
index 94b4ad9..75fa516 100644
--- a/OpenSim/Services/Connectors/Inventory/HGInventoryServiceConnector.cs
+++ b/OpenSim/Services/Connectors/Inventory/HGInventoryServiceConnector.cs
@@ -214,6 +214,19 @@ namespace OpenSim.Services.Connectors.Inventory
214 return false; 214 return false;
215 } 215 }
216 216
217 public List<InventoryItemBase> GetFolderItems(string id, UUID folderID, UUID sessionID)
218 {
219 string url = string.Empty;
220 string userID = string.Empty;
221
222 if (StringToUrlAndUserID(id, out url, out userID))
223 {
224 ISessionAuthInventoryService connector = GetConnector(url);
225 return connector.GetFolderItems(userID, folderID, sessionID);
226 }
227 return new List<InventoryItemBase>();
228 }
229
217 public bool AddItem(string id, InventoryItemBase item, UUID sessionID) 230 public bool AddItem(string id, InventoryItemBase item, UUID sessionID)
218 { 231 {
219 string url = string.Empty; 232 string url = string.Empty;