FacebookBridge:

- Don't try to access Foreign_link if it doesn't exist
- Remove noisy debugging statement
This commit is contained in:
Zach Copley 2010-11-29 23:57:41 +00:00
parent ed0e91c7a1
commit f1f67c2af5

View File

@ -58,7 +58,9 @@ class Facebookclient
FACEBOOK_SERVICE FACEBOOK_SERVICE
); );
$this->user = $this->flink->getUser(); if (!empty($this->flink)) {
$this->user = $this->flink->getUser();
}
} }
/* /*
@ -103,7 +105,6 @@ class Facebookclient
*/ */
static function facebookBroadcastNotice($notice) static function facebookBroadcastNotice($notice)
{ {
common_debug('Facebook broadcast');
$client = new Facebookclient($notice); $client = new Facebookclient($notice);
return $client->sendNotice(); return $client->sendNotice();
} }