diff options
Diffstat (limited to 'OpenSim/Framework/Communications/InventoryServiceBase.cs')
-rw-r--r-- | OpenSim/Framework/Communications/InventoryServiceBase.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/InventoryServiceBase.cs b/OpenSim/Framework/Communications/InventoryServiceBase.cs index cad7989..ff66250 100644 --- a/OpenSim/Framework/Communications/InventoryServiceBase.cs +++ b/OpenSim/Framework/Communications/InventoryServiceBase.cs | |||
@@ -292,6 +292,20 @@ namespace OpenSim.Framework.Communications | |||
292 | return null; | 292 | return null; |
293 | } | 293 | } |
294 | 294 | ||
295 | public virtual InventoryFolderBase QueryFolder(InventoryFolderBase item) | ||
296 | { | ||
297 | foreach (IInventoryDataPlugin plugin in m_plugins) | ||
298 | { | ||
299 | InventoryFolderBase result = plugin.queryInventoryFolder(item.ID); | ||
300 | if (result != null) | ||
301 | { | ||
302 | return result; | ||
303 | } | ||
304 | } | ||
305 | |||
306 | return null; | ||
307 | } | ||
308 | |||
295 | /// <summary> | 309 | /// <summary> |
296 | /// Purge a folder of all items items and subfolders. | 310 | /// Purge a folder of all items items and subfolders. |
297 | /// | 311 | /// |