summaryrefslogtreecommitdiff
path: root/indra/newview/lltwitterconnect.cpp
diff options
context:
space:
mode:
authorCho <cho@lindenlab.com>2013-11-02 01:50:17 +0100
committerCho <cho@lindenlab.com>2013-11-02 01:50:17 +0100
commit0e71fb3c9d82bf2a307431f68f8ec84d223a4887 (patch)
treea6b8291a742154f60cafd8e484ebc3a67fde9987 /indra/newview/lltwitterconnect.cpp
parent963c97f64a4d1490fe8380805c4de38598adddad (diff)
added Flickr floater for ACME-1136, ACME-1137, ACME-1138, ACME-1140, and ACME-1141
Diffstat (limited to 'indra/newview/lltwitterconnect.cpp')
-rw-r--r--indra/newview/lltwitterconnect.cpp33
1 files changed, 0 insertions, 33 deletions
diff --git a/indra/newview/lltwitterconnect.cpp b/indra/newview/lltwitterconnect.cpp
index 6efcce8127..80142e7073 100644
--- a/indra/newview/lltwitterconnect.cpp
+++ b/indra/newview/lltwitterconnect.cpp
@@ -67,39 +67,6 @@ void toast_user_for_twitter_success()
///////////////////////////////////////////////////////////////////////////////
//
-class LLTwitterConnectHandler : public LLCommandHandler
-{
-public:
- LLTwitterConnectHandler() : LLCommandHandler("fbc", UNTRUSTED_THROTTLE) { }
-
- bool handle(const LLSD& tokens, const LLSD& query_map, LLMediaCtrl* web)
- {
- if (tokens.size() >= 2)
- {
- if (tokens[0].asString() == "connect" && tokens[1].asString() == "twitter")
- {
- // this command probably came from the fbc_web browser, so close it
- LLFloater* fbc_web = LLFloaterReg::getInstance("fbc_web");
- if (fbc_web)
- {
- fbc_web->closeFloater();
- }
-
- // connect to twitter
- if (query_map.has("oauth_token"))
- {
- LLTwitterConnect::instance().connectToTwitter(query_map["oauth_token"], query_map.get("oauth_verifier"));
- }
- return true;
- }
- }
- return false;
- }
-};
-LLTwitterConnectHandler gTwitterConnectHandler;
-
-///////////////////////////////////////////////////////////////////////////////
-//
class LLTwitterConnectResponder : public LLHTTPClient::Responder
{
LOG_CLASS(LLTwitterConnectResponder);