summaryrefslogtreecommitdiff
path: root/indra/newview/llfacebookconnect.cpp
diff options
context:
space:
mode:
authorGilbert Gonzales <gilbert@lindenlab.com>2013-09-03 19:11:20 -0700
committerGilbert Gonzales <gilbert@lindenlab.com>2013-09-03 19:11:20 -0700
commit3ba9cf20486ac80276f262c57a9280dc875504eb (patch)
tree68b42ba81ed5bf0ef04e2fe164697e4b30197150 /indra/newview/llfacebookconnect.cpp
parented828365b8a5371b1deadaa8cc1c2f1fdf729227 (diff)
ACME-789: Remove SLShareHost setting from settings.xml
Diffstat (limited to 'indra/newview/llfacebookconnect.cpp')
-rw-r--r--indra/newview/llfacebookconnect.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/indra/newview/llfacebookconnect.cpp b/indra/newview/llfacebookconnect.cpp
index 451c0f5767..9c70757278 100644
--- a/indra/newview/llfacebookconnect.cpp
+++ b/indra/newview/llfacebookconnect.cpp
@@ -32,7 +32,6 @@
#include "llagent.h"
#include "llcallingcard.h" // for LLAvatarTracker
#include "llcommandhandler.h"
-#include "llcontrol.h"
#include "llhttpclient.h"
#include "llnotificationsutil.h"
#include "llurlaction.h"
@@ -49,8 +48,6 @@ boost::scoped_ptr<LLEventPump> LLFacebookConnect::sStateWatcher(new LLEventStrea
boost::scoped_ptr<LLEventPump> LLFacebookConnect::sInfoWatcher(new LLEventStream("FacebookConnectInfo"));
boost::scoped_ptr<LLEventPump> LLFacebookConnect::sContentWatcher(new LLEventStream("FacebookConnectContent"));
-extern LLControlGroup gSavedSettings;
-
// Local functions
void log_facebook_connect_error(const std::string& request, U32 status, const std::string& reason, const std::string& code, const std::string& description)
{
@@ -360,18 +357,6 @@ void LLFacebookConnect::openFacebookWeb(std::string url)
std::string LLFacebookConnect::getFacebookConnectURL(const std::string& route, bool include_read_from_master)
{
static std::string sFacebookConnectUrl = gAgent.getRegion()->getCapability("FacebookConnect");
-
- //*TODO : Remove this code along with extern and llcontrol.h header
- std::string host = gSavedSettings.getString("SLShareHost");
- if (!host.empty())
- {
- sFacebookConnectUrl = host + "/fbc/agent/" + gAgentID.asString(); // TEMPORARY HACK FOR FB DEMO - Cho
- }
- else
- {
- sFacebookConnectUrl = gAgent.getRegion()->getCapability("FacebookConnect");
- }
- //End removable part
std::string url = sFacebookConnectUrl + route;
if (include_read_from_master && mReadFromMaster)