Fix incorrect update requirement detection

This commit is contained in:
Björn Fromme
2021-06-08 17:44:03 +02:00
parent dacc22d334
commit d9330c2a17
@@ -30,7 +30,9 @@ class ImportTimestampService
$updatedTimestampPath = GeneralUtility::getFileAbsFileName($uploadTimestampFile);
if (!$updatedTimestampPath || !file_exists($updatedTimestampPath)) {
return false;
$this->writeImportTimestamp($importTimestampFile);
return true;
}
$line = trim(file($updatedTimestampPath)[0]);