This commit is contained in:
2021-09-26 15:21:24 +00:00
parent ff5fe4cde6
commit c717b9e3b1

View File

@@ -120,7 +120,7 @@ namespace rockfishCore.Util
}
//Website and Forum sb at least three of each, so just ensure there are three matches
//we dont' care about date for these ones, just prescence
//we dont' care about date for these ones, just presence
int FoundLevel2Matches = 0;
foreach (string ExpectedFileName in Level2ManualBackupFilePrefixes)
foreach (string FileName in SpacesFileNames)
@@ -128,6 +128,7 @@ namespace rockfishCore.Util
FoundLevel2Matches++;
//should be one each of the critical and 3 each of the level2
//todo: as long as there is one of each that's fine
return (FoundCriticalMatches == CriticalDailyBackupFilePrefixes.Length && FoundLevel2Matches == (Level2ManualBackupFilePrefixes.Length * 3));
}