Commit 6156b5d5 authored by Tobby Hagler's avatar Tobby Hagler
Browse files

Issue #1011958 by David Goode: Allow hashes to be updated when content in a feed is updated.

parent 03e03c2e
Loading
Loading
Loading
Loading
+2 −3
Changes for plugins/FeedsProcessor.inc: 2 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -119,12 +119,11 @@ abstract class FeedsProcessor extends FeedsPlugin {
          }
          else {
            $entity = $this->entityLoad($source, $entity_id);
            // If an existing item info can't be loaded, create one.
            if (!$this->loadItemInfo($entity)) {
            // The feeds_item table is always updated with the info for the most recently processed entity.
            // The only carryover is the entity_id.
            $this->newItemInfo($entity, $source->feed_nid, $hash);
            $entity->feeds_item->entity_id = $entity_id;
          }
          }
          $this->map($source, $parser_result, $entity);
          $this->entityValidate($entity);
          $this->entitySave($entity);