summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-08-03 18:48:25 +0000
committerZach Copley <zach@controlyourself.ca>2009-08-03 18:48:25 +0000
commitf81dcbd5b71395d4b3b268f420e26f1a616816b5 (patch)
tree2c1dc523faded9543f74fccb1333981e84f4c7e0
parent92ef468fcc5adf6e9445b3b80b87fdc8e55896dd (diff)
parentcd9748ad563ac8a0cf6f00f9aa3cf825647d394f (diff)
Merge branch 'fbconnect-speedup' into 0.8.x
-rw-r--r--plugins/FBConnect/FBConnectPlugin.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/FBConnect/FBConnectPlugin.php b/plugins/FBConnect/FBConnectPlugin.php
index 2e32ad198..6788793b2 100644
--- a/plugins/FBConnect/FBConnectPlugin.php
+++ b/plugins/FBConnect/FBConnectPlugin.php
@@ -122,9 +122,7 @@ class FBConnectPlugin extends Plugin
FB_RequireFeatures(
["XFBML"],
function() {
- FB.init("%s", "../xd_receiver.html",
- {"doNotUseCachedConnectState":true });
-
+ FB.init("%s", "../xd_receiver.html");
}
); }
@@ -222,7 +220,7 @@ class FBConnectPlugin extends Plugin
try {
$facebook = getFacebook();
- $fbuid = $facebook->api_client->users_getLoggedInUser();
+ $fbuid = $facebook->get_loggedin_user();
} catch (Exception $e) {
common_log(LOG_WARNING,