Skip to content

Commit 62f2bdb

Browse files
author
Nikolaj Geisle
committed
Removed obsolete method
Signed-off-by: Nikolaj Geisle <[email protected]>
1 parent 53df7c6 commit 62f2bdb

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

src/Umbraco.Infrastructure/Persistence/UmbracoPocoDataBuilder.cs

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ namespace Umbraco.Cms.Infrastructure.Persistence
1818
/// <para>So far, this is very manual. We don't try to be clever and figure out whether the
1919
/// columns exist already. We just ignore it.</para>
2020
/// <para>Beware, the application MUST restart when this class behavior changes.</para>
21+
/// <para>You can override the GetColmunnInfo method to control which columns this includes</para>
2122
/// </remarks>
2223
internal class UmbracoPocoDataBuilder : PocoDataBuilder
2324
{
@@ -28,19 +29,5 @@ public UmbracoPocoDataBuilder(Type type, MapperCollection mapper, bool upgrading
2829
{
2930
_upgrading = upgrading;
3031
}
31-
32-
protected override ColumnInfo GetColumnInfo(MemberInfo mi, Type type)
33-
{
34-
var columnInfo = base.GetColumnInfo(mi, type);
35-
36-
// TODO: Is this upgrade flag still relevant? It's a lot of hacking to just set this value
37-
// including the interface method ConfigureForUpgrade for this one circumstance.
38-
if (_upgrading)
39-
{
40-
if (type == typeof(UserDto) && mi.Name == "TourData") columnInfo.IgnoreColumn = true;
41-
}
42-
43-
return columnInfo;
44-
}
4532
}
4633
}

0 commit comments

Comments
 (0)