Merge branch 'fbconnect-speedup' into 0.8.x

This commit is contained in:
Zach Copley 2009-08-03 18:48:25 +00:00
commit f81dcbd5b7
1 changed files with 2 additions and 4 deletions

View File

@ -122,9 +122,7 @@ class FBConnectPlugin extends Plugin
FB_RequireFeatures( FB_RequireFeatures(
["XFBML"], ["XFBML"],
function() { function() {
FB.init("%s", "../xd_receiver.html", FB.init("%s", "../xd_receiver.html");
{"doNotUseCachedConnectState":true });
} }
); } ); }
@ -222,7 +220,7 @@ class FBConnectPlugin extends Plugin
try { try {
$facebook = getFacebook(); $facebook = getFacebook();
$fbuid = $facebook->api_client->users_getLoggedInUser(); $fbuid = $facebook->get_loggedin_user();
} catch (Exception $e) { } catch (Exception $e) {
common_log(LOG_WARNING, common_log(LOG_WARNING,