diff options
author | Zach Copley <zach@status.net> | 2010-11-29 23:57:41 +0000 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2010-11-29 23:57:41 +0000 |
commit | f1f67c2af542aabea4e93d7df0d2e917658e6a83 (patch) | |
tree | da4bf4a5b26df7e744c21261f5c9dca9e1f98229 /plugins/FacebookBridge/lib | |
parent | ed0e91c7a19a369a1f9db33b88204819e95ff6c9 (diff) |
FacebookBridge:
- Don't try to access Foreign_link if it doesn't exist
- Remove noisy debugging statement
Diffstat (limited to 'plugins/FacebookBridge/lib')
-rw-r--r-- | plugins/FacebookBridge/lib/facebookclient.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/FacebookBridge/lib/facebookclient.php b/plugins/FacebookBridge/lib/facebookclient.php index 20d8aef7e..d5ecd11a9 100644 --- a/plugins/FacebookBridge/lib/facebookclient.php +++ b/plugins/FacebookBridge/lib/facebookclient.php @@ -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(); } |