OpenGrid protocol is dead. byebye o/

This commit is contained in:
Siana Gearz
2011-01-31 19:59:28 +01:00
parent d962b05a9e
commit 2550e2b6f2
8 changed files with 12 additions and 578 deletions

View File

@@ -1698,12 +1698,7 @@ void LLInventoryModel::bulkFetch(std::string url)
if (body_lib["folders"].size())
{
std::string url_lib;
if (!gSavedSettings.getBOOL("OpenGridProtocol") )
{
url_lib = gAgent.getRegion()->getCapability("FetchLibDescendents");
}else{
url_lib = gAgent.getCapability("agent/inventory_library");
}
url_lib = gAgent.getRegion()->getCapability("FetchLibDescendents");
LL_DEBUGS("Inventory") << " fetch descendents lib post: " << ll_pretty_print_sd(body_lib) << LL_ENDL; // OGPX
LLHTTPClient::post(url_lib, body_lib, new fetchDescendentsResponder(body_lib),300.0);
}