diff options
Diffstat (limited to 'OpenSim/Services/Connectors/Inventory')
3 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Services/Connectors/Inventory/HGInventoryServiceConnector.cs b/OpenSim/Services/Connectors/Inventory/HGInventoryServiceConnector.cs index b168871..f6d1500 100644 --- a/OpenSim/Services/Connectors/Inventory/HGInventoryServiceConnector.cs +++ b/OpenSim/Services/Connectors/Inventory/HGInventoryServiceConnector.cs | |||
@@ -126,7 +126,7 @@ namespace OpenSim.Services.Connectors.Inventory | |||
126 | /// <param name="userID"></param> | 126 | /// <param name="userID"></param> |
127 | /// <param name="type"></param> | 127 | /// <param name="type"></param> |
128 | /// <returns></returns> | 128 | /// <returns></returns> |
129 | public List<InventoryFolderBase> GetSystemFolders(string id, UUID sessionID) | 129 | public Dictionary<AssetType, InventoryFolderBase> GetSystemFolders(string id, UUID sessionID) |
130 | { | 130 | { |
131 | m_log.Debug("[HGInventory]: GetSystemFolders " + id); | 131 | m_log.Debug("[HGInventory]: GetSystemFolders " + id); |
132 | string url = string.Empty; | 132 | string url = string.Empty; |
@@ -138,7 +138,7 @@ namespace OpenSim.Services.Connectors.Inventory | |||
138 | return connector.GetSystemFolders(userID, sessionID); | 138 | return connector.GetSystemFolders(userID, sessionID); |
139 | } | 139 | } |
140 | 140 | ||
141 | return new List<InventoryFolderBase>(); | 141 | return new Dictionary<AssetType, InventoryFolderBase>(); |
142 | } | 142 | } |
143 | 143 | ||
144 | /// <summary> | 144 | /// <summary> |
diff --git a/OpenSim/Services/Connectors/Inventory/ISessionAuthInventoryService.cs b/OpenSim/Services/Connectors/Inventory/ISessionAuthInventoryService.cs index 98fd680..973cb0a 100644 --- a/OpenSim/Services/Connectors/Inventory/ISessionAuthInventoryService.cs +++ b/OpenSim/Services/Connectors/Inventory/ISessionAuthInventoryService.cs | |||
@@ -57,7 +57,7 @@ namespace OpenSim.Services.Connectors | |||
57 | /// <param name="userID"></param> | 57 | /// <param name="userID"></param> |
58 | /// <param name="type"></param> | 58 | /// <param name="type"></param> |
59 | /// <returns></returns> | 59 | /// <returns></returns> |
60 | List<InventoryFolderBase> GetSystemFolders(string userID, UUID session_id); | 60 | Dictionary<AssetType, InventoryFolderBase> GetSystemFolders(string userID, UUID session_id); |
61 | 61 | ||
62 | /// <summary> | 62 | /// <summary> |
63 | /// Gets everything (folders and items) inside a folder | 63 | /// Gets everything (folders and items) inside a folder |
diff --git a/OpenSim/Services/Connectors/Inventory/InventoryServiceConnector.cs b/OpenSim/Services/Connectors/Inventory/InventoryServiceConnector.cs index 1a6826e..3b15831 100644 --- a/OpenSim/Services/Connectors/Inventory/InventoryServiceConnector.cs +++ b/OpenSim/Services/Connectors/Inventory/InventoryServiceConnector.cs | |||
@@ -161,11 +161,11 @@ namespace OpenSim.Services.Connectors | |||
161 | /// <param name="userID"></param> | 161 | /// <param name="userID"></param> |
162 | /// <param name="type"></param> | 162 | /// <param name="type"></param> |
163 | /// <returns></returns> | 163 | /// <returns></returns> |
164 | public List<InventoryFolderBase> GetSystemFolders(string userID, UUID sessionID) | 164 | public Dictionary<AssetType, InventoryFolderBase> GetSystemFolders(string userID, UUID sessionID) |
165 | { | 165 | { |
166 | try | 166 | try |
167 | { | 167 | { |
168 | return SynchronousRestSessionObjectPoster<string, List<InventoryFolderBase>>.BeginPostObject( | 168 | return SynchronousRestSessionObjectPoster<string, Dictionary<AssetType, InventoryFolderBase>>.BeginPostObject( |
169 | "GET", m_ServerURI + "/SystemFolders/", userID, sessionID.ToString(), userID.ToString()); | 169 | "GET", m_ServerURI + "/SystemFolders/", userID, sessionID.ToString(), userID.ToString()); |
170 | } | 170 | } |
171 | catch (Exception e) | 171 | catch (Exception e) |
@@ -174,7 +174,7 @@ namespace OpenSim.Services.Connectors | |||
174 | e.Source, e.Message); | 174 | e.Source, e.Message); |
175 | } | 175 | } |
176 | 176 | ||
177 | return new List<InventoryFolderBase>(); | 177 | return new Dictionary<AssetType, InventoryFolderBase>(); |
178 | } | 178 | } |
179 | 179 | ||
180 | /// <summary> | 180 | /// <summary> |