Reverse an earlier over-zealous check for a non-null value of the retriever. This prevented lots and lots of feed items coming through.

Conflicts:
	retriever/retriever.php
pull/119/head
Matthew Exon 2013-04-29 14:26:29 +08:00
parent 0b82f146b5
commit 6667c9da6b
1 changed files with 1 additions and 3 deletions

View File

@ -277,10 +277,8 @@ function retriever_item_completed($retriever_item_id, $resource) {
if (!$retriever_item) { if (!$retriever_item) {
return; return;
} }
// Note: the retriever might be null. Doesn't matter.
$retriever = get_retriever($retriever_item['contact-id'], $retriever_item['item-uid']); $retriever = get_retriever($retriever_item['contact-id'], $retriever_item['item-uid']);
if (!$retriever) {
return;
}
$item = retriever_get_item($retriever_item); $item = retriever_get_item($retriever_item);
if (!$item) { if (!$item) {
return; return;