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:
@@ -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>();
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user