ImportSource: fix hasChanges variable
This commit is contained in:
parent
7908d69349
commit
820d6ce197
|
@ -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()) {
|
||||||
|
|
Loading…
Reference in New Issue