From 430afcab90593ac854c2f68ece258d9fadcc6596 Mon Sep 17 00:00:00 2001 From: Shannon Date: Thu, 17 Mar 2016 14:21:15 +0100 Subject: [PATCH] Removes Umbraco.Core.Models.Template.GetTypeOfRenderingEngine --- src/Umbraco.Core/Models/Template.cs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/Umbraco.Core/Models/Template.cs b/src/Umbraco.Core/Models/Template.cs index 587e0587cd..cfc7cb1407 100644 --- a/src/Umbraco.Core/Models/Template.cs +++ b/src/Umbraco.Core/Models/Template.cs @@ -103,14 +103,7 @@ namespace Umbraco.Core.Models /// /// Returns true if the template is used as a layout for other templates (i.e. it has 'children') /// - 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) {