removed debugging lines for FeedPoller

This commit is contained in:
Mikael Nordfeldth
2015-01-15 21:14:07 +01:00
parent 0193c7548f
commit 19f3cc112f
2 changed files with 0 additions and 6 deletions

View File

@@ -16,7 +16,6 @@ class FeedPollQueueHandler extends QueueHandler
public function handle($item)
{
common_debug('Enqueueing FeedPoll feeds but actually running the queue handler!');
$feedsub = FeedSub::getKV('id', $item['id']);
if (!$feedsub instanceof FeedSub) {
// Removed from the feedsub table I guess
@@ -27,15 +26,12 @@ class FeedPollQueueHandler extends QueueHandler
return true;
}
common_debug('Enqueueing FeedPoll feeds but actually checking updates');
try {
FeedPoll::checkUpdates($feedsub);
} catch (Exception $e) {
common_log(LOG_ERR, "Failed to check feedsub id= ".$feedsub->id.' ("'.$e->getMessage().'")');
}
common_debug('Enqueueing FeedPoll feeds but actually done with '.$feedsub->id);
return true;
}
}