Skip to content
Snippets Groups Projects
Commit e120ee86 authored by Chris Leppanen's avatar Chris Leppanen
Browse files

Re-organize FeedsProcessor::process() so that it is clearer.

parent 788e0c09
No related branches found
No related tags found
No related merge requests found
...@@ -117,7 +117,7 @@ abstract class FeedsProcessor extends FeedsPlugin { ...@@ -117,7 +117,7 @@ abstract class FeedsProcessor extends FeedsPlugin {
} }
$hash = $this->hash($item); $hash = $this->hash($item);
$changed = ($hash == $this->getHash($entity_id)); $changed = ($hash !== $this->getHash($entity_id));
$force_update = $this->config['skip_hash_check']; $force_update = $this->config['skip_hash_check'];
// Do not proceed if the item exists, has not changed, and we're not // Do not proceed if the item exists, has not changed, and we're not
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment