diff options
author | Zach Copley <zach@status.net> | 2010-11-09 23:14:50 +0000 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2010-11-09 23:14:50 +0000 |
commit | 17ae690d5937b9a9ac3c7cd8a37d461960ce4964 (patch) | |
tree | 1ab292b835ecc42c9283324b7559cfefbd9b0ab6 /plugins/FacebookSSO/lib/facebookclient.php | |
parent | cd236efe127c3f696b8a78c5ff66a08b24230a4e (diff) |
Make a richer StatusNet profile from a user's Facebook profile
Diffstat (limited to 'plugins/FacebookSSO/lib/facebookclient.php')
-rw-r--r-- | plugins/FacebookSSO/lib/facebookclient.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/FacebookSSO/lib/facebookclient.php b/plugins/FacebookSSO/lib/facebookclient.php index cf45c9ed9..6753243ed 100644 --- a/plugins/FacebookSSO/lib/facebookclient.php +++ b/plugins/FacebookSSO/lib/facebookclient.php @@ -47,7 +47,6 @@ class Facebookclient protected $flink = null; // Foreign_link StatusNet -> Facebook protected $notice = null; // The user's notice protected $user = null; // Sender of the notice - //protected $oldRestClient = null; // Old REST API client function __construct($notice) { @@ -382,7 +381,7 @@ class Facebookclient $code = $e->getCode(); // The Facebook PHP SDK seems to always set the code attribute - // of the Exception to 0; they put the real error code it in + // of the Exception to 0; they put the real error code in // the message. Gar! if ($code == 0) { preg_match('/^\(#(?<code>\d+)\)/', $errmsg, $matches); @@ -554,7 +553,6 @@ class Facebookclient */ function formatAttachments() { - $attachments = $this->notice->attachments(); $fbattachment = array(); |