diff options
author | Merov Linden <merov@lindenlab.com> | 2013-06-14 20:01:33 -0700 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2013-06-14 20:01:33 -0700 |
commit | 2eb466908e8056f9b890d06d449ad8d10d3ff4cf (patch) | |
tree | 15fd57d5af29efb39fc43c2ac1ad5d2532fd079c /indra/newview/llviewermenu.cpp | |
parent | f5fb235aac7bb437416d5c665ff43ed5685a6755 (diff) |
ACME-520 : Add more extended state in LLFacebookConnect and handle it consistently and transparently from the public interface
Diffstat (limited to 'indra/newview/llviewermenu.cpp')
-rwxr-xr-x | indra/newview/llviewermenu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp index 67460c4bc6..ae28d6b129 100755 --- a/indra/newview/llviewermenu.cpp +++ b/indra/newview/llviewermenu.cpp @@ -5974,7 +5974,7 @@ void handle_report_abuse() void handle_facebook_connect() { - if (!LLFacebookConnect::instance().getConnected()) + if (!LLFacebookConnect::instance().isConnected()) { LLFacebookConnect::instance().getConnectionToFacebook(); } @@ -5983,7 +5983,7 @@ void handle_facebook_connect() bool enable_facebook_connect() { // The menu item will be disabled if we are already connected - return !LLFacebookConnect::instance().getConnected(); + return !LLFacebookConnect::instance().isConnected(); } void handle_facebook_checkin() |