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,7 +58,9 @@ class Facebookclient
|
|||
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)
|
||||
{
|
||||
common_debug('Facebook broadcast');
|
||||
$client = new Facebookclient($notice);
|
||||
return $client->sendNotice();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user