summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatersnapshot.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-06-15 14:49:16 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-06-15 14:49:16 +0100
commit5ad91abfdff9cfbadee555a297b95ace8f4f22b4 (patch)
treeed61707fed537dc47d4a4ff86c98d73250e64919 /indra/newview/llfloatersnapshot.cpp
parent11e6e208d43f1347037fb312921a65af138f47b4 (diff)
Backed out changeset b447707f20f5
Diffstat (limited to 'indra/newview/llfloatersnapshot.cpp')
-rw-r--r--indra/newview/llfloatersnapshot.cpp19
1 files changed, 2 insertions, 17 deletions
diff --git a/indra/newview/llfloatersnapshot.cpp b/indra/newview/llfloatersnapshot.cpp
index 2df297fc42..7b0486da48 100644
--- a/indra/newview/llfloatersnapshot.cpp
+++ b/indra/newview/llfloatersnapshot.cpp
@@ -1045,24 +1045,9 @@ class LLSendWebResponder : public LLHTTPClient::Responder
{
public:
- virtual void error(U32 status, const std::string& reason)
+ void result(const LLSD& content)
{
- llwarns << status << ": " << reason << llendl;
- LLNotificationsUtil::add("ShareToWebFailed");
- }
-
- virtual void result(const LLSD& content)
- {
- std::string response_url = content["response_url"].asString();
-
- if (!response_url.empty())
- {
- LLWeb::loadURLExternal(response_url);
- }
- else
- {
- LLNotificationsUtil::add("ShareToWebFailed");
- }
+ LLWeb::loadURLExternal(content["response_url"]);
}
};