Don't try to broadcast the notice if something went wrong.

This commit is contained in:
Zach Copley 2009-12-04 20:39:50 +00:00
parent 0177b386d8
commit eb0a5977ff

View File

@ -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