aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Capabilities/Handlers/FetchInventory/FetchInventory2Handler.cs9
1 files changed, 0 insertions, 9 deletions
diff --git a/OpenSim/Capabilities/Handlers/FetchInventory/FetchInventory2Handler.cs b/OpenSim/Capabilities/Handlers/FetchInventory/FetchInventory2Handler.cs
index 0d7766c..bae4cf6 100644
--- a/OpenSim/Capabilities/Handlers/FetchInventory/FetchInventory2Handler.cs
+++ b/OpenSim/Capabilities/Handlers/FetchInventory/FetchInventory2Handler.cs
@@ -73,15 +73,6 @@ namespace OpenSim.Capabilities.Handlers
73 if (m_agentID != UUID.Zero) 73 if (m_agentID != UUID.Zero)
74 { 74 {
75 items = m_inventoryService.GetMultipleItems(m_agentID, itemIDs); 75 items = m_inventoryService.GetMultipleItems(m_agentID, itemIDs);
76
77 if (items == null)
78 {
79 // OMG!!! One by one!!! This is fallback code, in case the backend isn't updated
80 m_log.WarnFormat("[FETCH INVENTORY HANDLER]: GetMultipleItems failed. Falling back to fetching inventory items one by one.");
81 items = new InventoryItemBase[itemsRequested.Count];
82 foreach (UUID id in itemIDs)
83 items[i++] = m_inventoryService.GetItem(m_agentID, id);
84 }
85 } 76 }
86 else 77 else
87 { 78 {