ImportSource: fix hasChanges variable

This commit is contained in:
Thomas Gelf 2016-06-28 10:10:15 +02:00
parent 7908d69349
commit 820d6ce197
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ class ImportSource extends DbObjectWithSettings
$this->last_attempt = date('Y-m-d H:i:s'); $this->last_attempt = date('Y-m-d H:i:s');
if ($import->providesChanges()) { if ($import->providesChanges()) {
Benchmark::measure('Found changes for ' . $this->source_name); Benchmark::measure('Found changes for ' . $this->source_name);
$this->hadChanges = true; $hadChanges = true;
$this->import_state = 'pending-changes'; $this->import_state = 'pending-changes';
if ($runImport && $import->run()) { if ($runImport && $import->run()) {