diff --git a/src/Umbraco.Web/Features/EnabledFeatures.cs b/src/Umbraco.Web/Features/EnabledFeatures.cs index cef30a1e1a..a9ebae60cd 100644 --- a/src/Umbraco.Web/Features/EnabledFeatures.cs +++ b/src/Umbraco.Web/Features/EnabledFeatures.cs @@ -5,12 +5,7 @@ namespace Umbraco.Web.Features /// internal class EnabledFeatures { - /// - /// Specifies if rendering pipeline should ignore HasTemplate check when handling a request. - /// This is to allow JSON preview of content with no template set. - /// - public bool RenderNoTemplate { get; set; } - + /// /// This allows us to inject html into the preview function extending the view with custom data. /// diff --git a/src/Umbraco.Web/Features/UmbracoFeatures.cs b/src/Umbraco.Web/Features/UmbracoFeatures.cs index 95ebedfd01..03b70c874d 100644 --- a/src/Umbraco.Web/Features/UmbracoFeatures.cs +++ b/src/Umbraco.Web/Features/UmbracoFeatures.cs @@ -15,14 +15,7 @@ namespace Umbraco.Web.Features { Disabled = new DisabledFeatures(); } - - // note - // currently, the only thing a FeatureSet does is list disabled controllers, - // but eventually we could enable and disable more parts of Umbraco. and then - // we would need some logic to figure out what's enabled/disabled - hence it's - // better to use IsEnabled, where the logic would go, rather than directly - // accessing the Disabled collection. - + /// /// Gets the disabled features. ///