|
|
@@ -2238,7 +2238,7 @@ class BiAuditPowiazania {
|
|
|
}
|
|
|
if (isset($args['message'])) $this->progress['summary']['message'] = $args['message'];
|
|
|
if (isset($args['step'])) $this->progress['summary']['step'] = $args['step'];
|
|
|
- if (isset($args['created'])) $this->progress['summary']['created'] += $args['created'];
|
|
|
+ if (isset($args['reportsCreated'])) $this->progress['summary']['reportsCreated'] += $args['reportsCreated'];
|
|
|
$this->progress['summary']['ts'] = $timestamp;
|
|
|
file_put_contents($this->progressFile, json_encode($this->progress));
|
|
|
}
|
|
|
@@ -2473,6 +2473,7 @@ class BiAuditPowiazania {
|
|
|
}
|
|
|
|
|
|
$this->splittedResults = $results;
|
|
|
+ $this->progress['summary']['reportsCount'] = count($results);
|
|
|
}
|
|
|
|
|
|
public function getPartsCount() {
|
|
|
@@ -2699,6 +2700,6 @@ class BiAuditPowiazania {
|
|
|
self::saveToLog("Wygenerowano pliki HTML ({$resultsPart})");
|
|
|
} else self::saveToLog("Nie udało się wygenerować plików HTML {$resultsPart})");
|
|
|
}
|
|
|
- $this->saveProgress(['created' => 1]);
|
|
|
+ $this->saveProgress(['reportsCreated' => 1]);
|
|
|
}
|
|
|
}
|