Moving GetInventoryItem up to InventoryServiceBase, since this seems like a pretty fundamental function.

0.6.5-rc1
diva 2009-03-19 21:43:35 +00:00
parent 4571a8b3fb
commit 2a76b2a417
2 changed files with 10 additions and 10 deletions

View File

@ -321,6 +321,16 @@ namespace OpenSim.Framework.Communications
}
}
public InventoryItemBase GetInventoryItem(UUID itemID)
{
foreach (IInventoryDataPlugin plugin in m_plugins)
{
return plugin.getInventoryItem(itemID);
}
return null;
}
/// <summary>
/// Used to create a new user inventory.
/// </summary>

View File

@ -54,15 +54,5 @@ namespace OpenSim.Grid.AssetInventoryServer.Plugins.OpenSim
return folder;
}
public InventoryItemBase GetInventoryItem(UUID itemID)
{
foreach (IInventoryDataPlugin plugin in m_plugins)
{
return plugin.getInventoryItem(itemID);
}
return null;
}
}
}