Removed commented out code.

This commit is contained in:
Bjarke Berg
2019-01-03 10:53:33 +01:00
parent eda46a16d0
commit 6490f57f70

View File

@@ -156,16 +156,6 @@ namespace Umbraco.Core
.Contains(property.PropertyTypeId));
}
// public static IContentTypeComposition GetContentType(this IContentBase contentBase)
// {
// if (contentBase == null) throw new ArgumentNullException(nameof(contentBase));
//
// if (contentBase is IContent content) return content.ContentType;
// if (contentBase is IMedia media) return media.ContentType;
// if (contentBase is IMember member) return member.ContentType;
// throw new NotSupportedException("Unsupported IContentBase implementation: " + contentBase.GetType().FullName + ".");
// }
#region SetValue for setting file contents
/// <summary>