summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorCho <cho@lindenlab.com>2013-07-02 01:43:29 +0100
committerCho <cho@lindenlab.com>2013-07-02 01:43:29 +0100
commitf04c88493fe69d608a82f453248f38be2882fe3a (patch)
tree6aa7f9c9980d9418fdd6122cb574aa8fe924c782 /indra
parent1449e645c61f3b31568e38e3c4daf531189323c6 (diff)
removed remaining LLFacebookConnect references from llfloatersnapshot.cpp for ACME-660
Diffstat (limited to 'indra')
-rwxr-xr-xindra/newview/llfloatersnapshot.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/indra/newview/llfloatersnapshot.cpp b/indra/newview/llfloatersnapshot.cpp
index a0771ff220..ea385d7baf 100755
--- a/indra/newview/llfloatersnapshot.cpp
+++ b/indra/newview/llfloatersnapshot.cpp
@@ -1064,7 +1064,6 @@ BOOL LLFloaterSnapshot::postBuild()
getChild<LLUICtrl>("auto_snapshot_check")->setValue(gSavedSettings.getBOOL("AutoSnapshot"));
childSetCommitCallback("auto_snapshot_check", Impl::onClickAutoSnap, this);
- LLFacebookConnect::instance().setSharePhotoCallback(boost::bind(&LLFloaterSnapshot::Impl::onSnapshotUploadFinished, _1));
LLWebProfile::setImageUploadResultCallback(boost::bind(&LLFloaterSnapshot::Impl::onSnapshotUploadFinished, _1));
LLPostCard::setPostResultCallback(boost::bind(&LLFloaterSnapshot::Impl::onSendingPostcardFinished, _1));
@@ -1278,14 +1277,6 @@ void LLFloaterSnapshot::update()
changed |= LLSnapshotLivePreview::onIdle(*iter);
}
- // We need to pool on facebook connection as it might change any time
- static bool s_facebook_connected = false;
- if (LLFacebookConnect::instance().isConnected() != s_facebook_connected)
- {
- s_facebook_connected = LLFacebookConnect::instance().isConnected();
- changed = true;
- }
-
if (inst && changed)
{
lldebugs << "changed" << llendl;