Skip to content

Commit 4c02432

Browse files
author
delphidabbler
committed
Remove redundant UserInfo property from TCodeImportMgr.
1 parent 83f02c7 commit 4c02432

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Src/UCodeImportMgr.pas

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,6 @@ TCodeImportMgr = class sealed(TObject)
9494
fSnippetInfoList: TSnippetInfoList;
9595
/// <summary>Value of ImportInfo property.</summary>
9696
fImportInfoList: TImportInfoList;
97-
/// <summary>Value of UserInfo property.</summary>
98-
fUserInfo: TUserInfo;
9997
/// <summary>Initialises import information list with details of snippets
10098
/// read from import file.</summary>
10199
procedure InitImportInfoList;
@@ -132,9 +130,6 @@ TCodeImportMgr = class sealed(TObject)
132130
/// <remarks>Any existing snippets with same name as imported snippets are
133131
/// overwritten.</remarks>
134132
procedure UpdateDatabase;
135-
/// <summary>Information about user who created the import file.</summary>
136-
/// <remarks>May be null if no user info included in import file.</remarks>
137-
property UserInfo: TUserInfo read fUserInfo;
138133
/// <summary>List of information describing if and how to import snippets
139134
/// in import file. Permits customisation of import.</summary>
140135
property ImportInfo: TImportInfoList read fImportInfoList;
@@ -210,7 +205,6 @@ procedure TCodeImportMgr.Import(const FileName: string);
210205
var
211206
Data: TBytes; // content of import file as bytes
212207
begin
213-
fUserInfo := TUserInfo.CreateNul;
214208
fImportInfoList.Clear;
215209
try
216210
Data := TFileIO.ReadAllBytes(FileName);

0 commit comments

Comments
 (0)