diff options
author | Zach Copley <zach@status.net> | 2009-12-04 20:39:50 +0000 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2009-12-04 20:39:50 +0000 |
commit | eb0a5977ff7e325022d460ae3cf540f3415bd33d (patch) | |
tree | 794d9be21a667b48b9b64fe63689bb84303853df /plugins/TwitterBridge/daemons/twitterstatusfetcher.php | |
parent | 0177b386d8384816ff2425cc6604b8debfb5c056 (diff) |
Don't try to broadcast the notice if something went wrong.
Diffstat (limited to 'plugins/TwitterBridge/daemons/twitterstatusfetcher.php')
-rwxr-xr-x | plugins/TwitterBridge/daemons/twitterstatusfetcher.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/TwitterBridge/daemons/twitterstatusfetcher.php b/plugins/TwitterBridge/daemons/twitterstatusfetcher.php index d8901f47b..b4ca12be2 100755 --- a/plugins/TwitterBridge/daemons/twitterstatusfetcher.php +++ b/plugins/TwitterBridge/daemons/twitterstatusfetcher.php @@ -213,7 +213,9 @@ class TwitterStatusFetcher extends ParallelizingDaemon $notice = $this->saveStatus($status, $flink); - common_broadcast_notice($notice); + if (!empty($notice)) { + common_broadcast_notice($notice); + } } // Okay, record the time we synced with Twitter for posterity |