This commit is contained in:
@@ -120,7 +120,7 @@ namespace rockfishCore.Util
|
|||||||
}
|
}
|
||||||
|
|
||||||
//Website and Forum sb at least three of each, so just ensure there are three matches
|
//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;
|
int FoundLevel2Matches = 0;
|
||||||
foreach (string ExpectedFileName in Level2ManualBackupFilePrefixes)
|
foreach (string ExpectedFileName in Level2ManualBackupFilePrefixes)
|
||||||
foreach (string FileName in SpacesFileNames)
|
foreach (string FileName in SpacesFileNames)
|
||||||
@@ -128,6 +128,7 @@ namespace rockfishCore.Util
|
|||||||
FoundLevel2Matches++;
|
FoundLevel2Matches++;
|
||||||
|
|
||||||
//should be one each of the critical and 3 each of the level2
|
//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));
|
return (FoundCriticalMatches == CriticalDailyBackupFilePrefixes.Length && FoundLevel2Matches == (Level2ManualBackupFilePrefixes.Length * 3));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user