Removed obsolete method
Signed-off-by: Nikolaj Geisle <niko737@edu.ucl.dk>
This commit is contained in:
@@ -18,6 +18,7 @@ namespace Umbraco.Cms.Infrastructure.Persistence
|
||||
/// <para>So far, this is very manual. We don't try to be clever and figure out whether the
|
||||
/// columns exist already. We just ignore it.</para>
|
||||
/// <para>Beware, the application MUST restart when this class behavior changes.</para>
|
||||
/// <para>You can override the GetColmunnInfo method to control which columns this includes</para>
|
||||
/// </remarks>
|
||||
internal class UmbracoPocoDataBuilder : PocoDataBuilder
|
||||
{
|
||||
@@ -28,19 +29,5 @@ namespace Umbraco.Cms.Infrastructure.Persistence
|
||||
{
|
||||
_upgrading = upgrading;
|
||||
}
|
||||
|
||||
protected override ColumnInfo GetColumnInfo(MemberInfo mi, Type type)
|
||||
{
|
||||
var columnInfo = base.GetColumnInfo(mi, type);
|
||||
|
||||
// TODO: Is this upgrade flag still relevant? It's a lot of hacking to just set this value
|
||||
// including the interface method ConfigureForUpgrade for this one circumstance.
|
||||
if (_upgrading)
|
||||
{
|
||||
if (type == typeof(UserDto) && mi.Name == "TourData") columnInfo.IgnoreColumn = true;
|
||||
}
|
||||
|
||||
return columnInfo;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user