Revert files that shouldn't change back in v11
This commit is contained in:
@@ -52,41 +52,6 @@ public class UmbracoRequestMiddleware : IMiddleware
|
||||
private readonly IVariationContextAccessor _variationContextAccessor;
|
||||
private SmidgeOptions _smidgeOptions;
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="UmbracoRequestMiddleware" /> class.
|
||||
/// </summary>
|
||||
// Obsolete, scheduled for removal in V11
|
||||
[Obsolete("Use constructor that takes an IOptions<UmbracoRequestOptions>")]
|
||||
public UmbracoRequestMiddleware(
|
||||
ILogger<UmbracoRequestMiddleware> logger,
|
||||
IUmbracoContextFactory umbracoContextFactory,
|
||||
IRequestCache requestCache,
|
||||
IEventAggregator eventAggregator,
|
||||
IProfiler profiler,
|
||||
IHostingEnvironment hostingEnvironment,
|
||||
UmbracoRequestPaths umbracoRequestPaths,
|
||||
BackOfficeWebAssets backOfficeWebAssets,
|
||||
IOptionsMonitor<SmidgeOptions> smidgeOptions,
|
||||
IRuntimeState runtimeState,
|
||||
IVariationContextAccessor variationContextAccessor,
|
||||
IDefaultCultureAccessor defaultCultureAccessor)
|
||||
: this(
|
||||
logger,
|
||||
umbracoContextFactory,
|
||||
requestCache,
|
||||
eventAggregator,
|
||||
profiler,
|
||||
hostingEnvironment,
|
||||
umbracoRequestPaths,
|
||||
backOfficeWebAssets,
|
||||
smidgeOptions,
|
||||
runtimeState,
|
||||
variationContextAccessor,
|
||||
defaultCultureAccessor,
|
||||
StaticServiceProvider.Instance.GetRequiredService<IOptions<UmbracoRequestOptions>>())
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="UmbracoRequestMiddleware" /> class.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user