Revert "Spot-fix the CAPS issue preventing UseHTTPInventory debug setting from working."

On-the-fly switching of UseHTTPInventory provided in patch by Aleric.

This reverts commit bdb74add3c.
This commit is contained in:
Latif Khalifa
2013-05-03 19:39:54 +02:00
parent bdb74add3c
commit 25dd719e39

View File

@@ -247,14 +247,6 @@ public:
LLSD::map_const_iterator iter;
for(iter = content.beginMap(); iter != content.endMap(); ++iter)
{
if (!gSavedSettings.getBOOL("UseHTTPInventory"))
{
if (iter->first == "FetchLib2" ||
iter->first == "FetchLibDescendents2" ||
iter->first == "FetchInventory2" ||
iter->first == "FetchInventoryDescendents2")
continue;
}
regionp->setCapability(iter->first, iter->second);
LL_DEBUGS2("AppInit", "Capabilities") << "got capability for "
<< iter->first << LL_ENDL;