mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Update HttpContextAccessor.cs
This commit is contained in:
@@ -32,7 +32,7 @@ namespace Orchard.Mvc {
|
||||
_httpContext = httpContext;
|
||||
}
|
||||
|
||||
private static bool IsBackgroundHttpContext(HttpContext httpContext) {
|
||||
internal static bool IsBackgroundHttpContext(HttpContext httpContext) {
|
||||
return httpContext == null || httpContext.Items.Contains(MvcModule.IsBackgroundHttpContextKey);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user