FacebookBridge:
- Don't try to access Foreign_link if it doesn't exist - Remove noisy debugging statement
This commit is contained in:
parent
ed0e91c7a1
commit
f1f67c2af5
@ -58,8 +58,10 @@ class Facebookclient
|
||||
FACEBOOK_SERVICE
|
||||
);
|
||||
|
||||
if (!empty($this->flink)) {
|
||||
$this->user = $this->flink->getUser();
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Get an instance of the Facebook Graph SDK object
|
||||
@ -103,7 +105,6 @@ class Facebookclient
|
||||
*/
|
||||
static function facebookBroadcastNotice($notice)
|
||||
{
|
||||
common_debug('Facebook broadcast');
|
||||
$client = new Facebookclient($notice);
|
||||
return $client->sendNotice();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user