mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
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');
|
||||
if ($import->providesChanges()) {
|
||||
Benchmark::measure('Found changes for ' . $this->source_name);
|
||||
$this->hadChanges = true;
|
||||
$hadChanges = true;
|
||||
$this->import_state = 'pending-changes';
|
||||
|
||||
if ($runImport && $import->run()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user