diff options
author | Melanie Thielker | 2009-03-23 00:11:34 +0000 |
---|---|---|
committer | Melanie Thielker | 2009-03-23 00:11:34 +0000 |
commit | 412112acbafa6e1f111b12007fd3a81728d0b2f5 (patch) | |
tree | e7c8b2d89c8c01d95049c3b57b925d9f31cb61e8 /OpenSim/Framework/Communications/InventoryServiceBase.cs | |
parent | Send proper creation date on item gives, so objects will appear at the top of (diff) | |
download | opensim-SC-412112acbafa6e1f111b12007fd3a81728d0b2f5.zip opensim-SC-412112acbafa6e1f111b12007fd3a81728d0b2f5.tar.gz opensim-SC-412112acbafa6e1f111b12007fd3a81728d0b2f5.tar.bz2 opensim-SC-412112acbafa6e1f111b12007fd3a81728d0b2f5.tar.xz |
Committing partial work on passing folders across instances. This may crash.
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 | /// |