if ($notice instanceof Notice) {
$flink = Foreign_link::getByForeignID($receiver, TWITTER_SERVICE);
if ($flink instanceof Foreign_link) {
- common_log(LOG_DEBUG, "TweetInQueueHandler - Got flink so add notice ".
+ common_debug("TweetInQueueHandler - Got flink so add notice ".
$notice->id." to attentions for user ".$flink->user_id);
try {
Attention::saveNew($notice, $flink->getProfile());
$e->getMessage());
}
} else {
- common_log(LOG_DEBUG, "TweetInQueueHandler - No flink found for foreign user ".$receiver);
+ common_debug("TweetInQueueHandler - No flink found for foreign user ".$receiver);
}
}