Fixes build with ctor change to UmbracoHelper

This commit is contained in:
Shannon
2018-12-05 16:59:33 +11:00
parent b48a7fa4a9
commit 1eba69b070
16 changed files with 29 additions and 39 deletions

View File

@@ -17,14 +17,14 @@ namespace Umbraco.Web
private UrlHelper _url;
protected UmbracoHttpHandler()
: this(Current.UmbracoContext, Current.Services, Current.ApplicationCache)
: this(Current.UmbracoContext, Current.Services)
{ }
protected UmbracoHttpHandler(UmbracoContext umbracoContext, ServiceContext services, CacheHelper appCache)
protected UmbracoHttpHandler(UmbracoContext umbracoContext, ServiceContext services)
{
if (umbracoContext == null) throw new ArgumentNullException(nameof(umbracoContext));
UmbracoContext = umbracoContext;
Umbraco = new UmbracoHelper(umbracoContext, services, appCache);
Umbraco = new UmbracoHelper(umbracoContext, services);
// fixme inject somehow
Logger = Current.Logger;