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
1 changed files with 3 additions and 2 deletions

View File

@ -58,8 +58,10 @@ class Facebookclient
FACEBOOK_SERVICE FACEBOOK_SERVICE
); );
if (!empty($this->flink)) {
$this->user = $this->flink->getUser(); $this->user = $this->flink->getUser();
} }
}
/* /*
* Get an instance of the Facebook Graph SDK object * Get an instance of the Facebook Graph SDK object
@ -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();
} }