Fix incorrect update requirement detection

This commit is contained in:
Björn Fromme committed 2021-06-08 17:44:03 +02:00
1 parent dacc22d334
commit d9330c2a17
1 file changed
+3 -1
@@ -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]);