File tree 1 file changed +6
-6
lines changed
Version Control.accda.src/modules
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -52,22 +52,22 @@ Public Sub ClearOrphanedSourceFiles(cType As IDbComponent)
52
52
If cType.SingleFile Then Exit For
53
53
Next varKey
54
54
55
+ ' Build dictionary of included extensions
56
+ For Each varExt In cType.FileExtensions
57
+ dExtensions.Add varExt, vbNullString
58
+ Next varExt
59
+
55
60
' Check for single-file exports with no items
56
61
If cType.SingleFile Then
57
62
If dItems.Count = 0 Then
58
63
' No more of these items exist in the database.
59
64
' (For example, IMEX specs)
60
65
If FSO.FileExists(cType.SourceFile) Then
61
66
' Compare to index to check for any source changes.
62
- CompareToIndex cType, cType.SourceFile, cType.FileExtensions , dBaseNames
67
+ CompareToIndex cType, cType.SourceFile, dExtensions , dBaseNames
63
68
End If
64
69
End If
65
70
Else
66
- ' Build dictionary of included extensions
67
- For Each varExt In cType.FileExtensions
68
- dExtensions.Add varExt, vbNullString
69
- Next varExt
70
-
71
71
' Loop through files in folder
72
72
Set oFolder = FSO.GetFolder(cType.BaseFolder)
73
73
For Each oFile In oFolder.Files
You can’t perform that action at this time.
0 commit comments