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
This commit is contained in:
parent
0b82f146b5
commit
6667c9da6b
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue