diff --git a/core/modules/migrate/src/Source.php b/core/modules/migrate/src/Source.php index d509c61..202dc32 100644 --- a/core/modules/migrate/src/Source.php +++ b/core/modules/migrate/src/Source.php @@ -361,18 +361,14 @@ public function next() { // If the source has a property for tracking changes (like Drupal has // node.changed) then check whether it's higher than the highest // value of those imported so far. - ($this->usesHighWater() && $row->getSourceProperty($this->highWaterProperty['name']) > $this->originalHighWater) || // now let's try to see whether the source has changed, either via highwater which is like node.changed + ($this->highWaterProperty && $row->getSourceProperty($this->highWaterProperty['name']) > $this->originalHighWater) || // now let's try to see whether the source has changed, either via highwater which is like node.changed // If no such property exists then try by checking the hash of the row. - (!$this->usesHighwater() && $this->trackChanges && $row->changed()) ) { + (!$this->highWaterProperty && $this->trackChanges && $row->changed()) ) { $this->currentRow = $row->freezeSource(); } } } - protected function usesHighwater() { - return $this->highWaterProperty; - } - /** * Add additional data to the row. *