From 58d107130b41d9e1380079db6f29578a56ee99fb Mon Sep 17 00:00:00 2001 From: Merov Linden Date: Mon, 22 Jul 2013 17:25:21 -0700 Subject: ACME-741: Fixed: Do not try to get FB account info when the user is not connected to FB (otherwise, it autoconnects...) --- indra/newview/llfloatersocial.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/indra/newview/llfloatersocial.cpp b/indra/newview/llfloatersocial.cpp index d734518cbb..acfb0960be 100644 --- a/indra/newview/llfloatersocial.cpp +++ b/indra/newview/llfloatersocial.cpp @@ -650,8 +650,6 @@ void LLSocialAccountPanel::onVisibilityChange(const LLSD& new_visibility) LLEventPumps::instance().obtain("FacebookConnectState").stopListening("LLSocialAccountPanel"); LLEventPumps::instance().obtain("FacebookConnectState").listen("LLSocialAccountPanel", boost::bind(&LLSocialAccountPanel::onFacebookConnectStateChange, this, _1)); - LLFacebookConnect::instance().loadFacebookInfo(); - LLEventPumps::instance().obtain("FacebookConnectInfo").stopListening("LLSocialAccountPanel"); LLEventPumps::instance().obtain("FacebookConnectInfo").listen("LLSocialAccountPanel", boost::bind(&LLSocialAccountPanel::onFacebookConnectInfoChange, this)); -- cgit v1.2.3