Removes Umbraco.Core.Models.Template.GetTypeOfRenderingEngine

This commit is contained in:
Shannon
2016-03-17 14:21:15 +01:00
parent d4b0b3d31b
commit 430afcab90

View File

@@ -103,14 +103,7 @@ namespace Umbraco.Core.Models
/// <summary>
/// Returns true if the template is used as a layout for other templates (i.e. it has 'children')
/// </summary>
public bool IsMasterTemplate { get; internal set; }
[Obsolete("This is no longer used and will be removed from the codebase in future versions, use the IFileSystem DetermineRenderingEngine method instead")]
public RenderingEngine GetTypeOfRenderingEngine()
{
//Hack! TODO: Remove this method entirely
return ApplicationContext.Current.Services.FileService.DetermineTemplateRenderingEngine(this);
}
public bool IsMasterTemplate { get; internal set; }
public void SetMasterTemplate(ITemplate masterTemplate)
{