summaryrefslogtreecommitdiff
path: root/indra/newview/llinventoryobserver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llinventoryobserver.cpp')
-rw-r--r--indra/newview/llinventoryobserver.cpp13
1 files changed, 1 insertions, 12 deletions
diff --git a/indra/newview/llinventoryobserver.cpp b/indra/newview/llinventoryobserver.cpp
index 79917fb11b..fe33be4abe 100644
--- a/indra/newview/llinventoryobserver.cpp
+++ b/indra/newview/llinventoryobserver.cpp
@@ -300,18 +300,7 @@ void LLInventoryFetchItemsObserver::startFetch()
if (aisv3)
{
- // doesn't support bulk fetching, request one by one
- if (owner_id == ALEXANDRIA_LINDEN_ID)
- {
- AISAPI::FetchItem(*it, AISAPI::LIBRARY);
- }
- else
- {
- AISAPI::FetchItem(*it, AISAPI::INVENTORY);
- }
- // Todo: remove item from mIncomplete on callback
- // but keep in mind that observer can expire before
- // callback or use LLInventoryModelBackgroundFetch
+ LLInventoryModelBackgroundFetch::getInstance()->start(*it);
}
else
{