From f04c88493fe69d608a82f453248f38be2882fe3a Mon Sep 17 00:00:00 2001
From: Cho <cho@lindenlab.com>
Date: Tue, 2 Jul 2013 01:43:29 +0100
Subject: removed remaining LLFacebookConnect references from
 llfloatersnapshot.cpp for ACME-660

---
 indra/newview/llfloatersnapshot.cpp | 9 ---------
 1 file changed, 9 deletions(-)

(limited to 'indra')

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;
-- 
cgit v1.2.3