V14: Remove legacy manifest parser (#15744)

* Remove legacy manifest parser

* Remove unused usings

---------

Co-authored-by: Bjarke Berg <mail@bergmania.dk>
This commit is contained in:
Mole
2024-02-26 15:43:48 +01:00
committed by GitHub
parent 01a7643164
commit b320cf1b22
108 changed files with 5 additions and 6622 deletions

View File

@@ -156,7 +156,6 @@ public static partial class UmbracoBuilderExtensions
// WebRootFileProviderFactory is just a wrapper around the IWebHostEnvironment.WebRootFileProvider,
// therefore no need to register it as singleton
builder.Services.AddSingleton<ILegacyPackageManifestFileProviderFactory, ContentAndWebRootFileProviderFactory>();
builder.Services.AddSingleton<IGridEditorsConfigFileProviderFactory, WebRootFileProviderFactory>();
builder.Services.AddSingleton<IPackageManifestFileProviderFactory, ContentAndWebRootFileProviderFactory>();

View File

@@ -4,7 +4,7 @@ using Umbraco.Cms.Core.IO;
namespace Umbraco.Cms.Web.Common.FileProviders;
public class ContentAndWebRootFileProviderFactory : ILegacyPackageManifestFileProviderFactory, IPackageManifestFileProviderFactory
public class ContentAndWebRootFileProviderFactory : IPackageManifestFileProviderFactory
{
private readonly IWebHostEnvironment _webHostEnvironment;

View File

@@ -4,7 +4,7 @@ using Umbraco.Cms.Core.IO;
namespace Umbraco.Cms.Web.Common.FileProviders;
public class WebRootFileProviderFactory : ILegacyPackageManifestFileProviderFactory, IGridEditorsConfigFileProviderFactory
public class WebRootFileProviderFactory : IGridEditorsConfigFileProviderFactory
{
private readonly IWebHostEnvironment _webHostEnvironment;