diff --git a/src/Umbraco.Web/PublishedCache/XmlPublishedCache/XmlCacheComponent.cs b/src/Umbraco.Web/PublishedCache/XmlPublishedCache/XmlCacheComponent.cs deleted file mode 100644 index 496818ab28..0000000000 --- a/src/Umbraco.Web/PublishedCache/XmlPublishedCache/XmlCacheComponent.cs +++ /dev/null @@ -1,51 +0,0 @@ -using Umbraco.Core; -using Umbraco.Core.Cache; -using Umbraco.Core.Components; -using Umbraco.Core.Services; -using Umbraco.Core.Strings; -using Umbraco.Core.Logging; -using Umbraco.Core.Scoping; -using Umbraco.Web.HealthCheck.Checks.DataIntegrity; -using LightInject; -using Umbraco.Core.Configuration; -using Umbraco.Core.Models.PublishedContent; -using Umbraco.Core.Persistence.Repositories; -using Umbraco.Web.Routing; - -namespace Umbraco.Web.PublishedCache.XmlPublishedCache -{ - [DisableComponent] // is not enabled by default - public class XmlCacheComponent : UmbracoComponentBase, IUmbracoCoreComponent - { - public override void Compose(Composition composition) - { - base.Compose(composition); - - // register the XML facade service - composition.SetPublishedSnapshotService(factory => new PublishedSnapshotService( - factory.GetInstance(), - factory.GetInstance(), - factory.GetInstance(), - factory.GetInstance().RequestCache, - factory.GetInstance(), - factory.GetInstance(), - factory.GetInstance(), - factory.GetInstance(), - factory.GetInstance(), - factory.GetInstance(), - factory.GetInstance(), - factory.GetInstance(), - factory.GetInstance(), - factory.GetInstance(), - factory.GetInstance())); - - // add the Xml cache health check (hidden from type finder) - composition.HealthChecks().Add(); - } - - public void Initialize(IPublishedSnapshotService service) - { - // nothing - this just ensures that the service is created at boot time - } - } -} diff --git a/src/Umbraco.Web/Umbraco.Web.csproj b/src/Umbraco.Web/Umbraco.Web.csproj index 814a6c5a64..c2f674f929 100755 --- a/src/Umbraco.Web/Umbraco.Web.csproj +++ b/src/Umbraco.Web/Umbraco.Web.csproj @@ -470,7 +470,6 @@ -