Merge branch temp8 into temp8-di2690

This commit is contained in:
Stephan
2018-12-07 09:52:46 +01:00
183 changed files with 7053 additions and 6809 deletions

View File

@@ -15,10 +15,10 @@ namespace Umbraco.Web.UI.Controls
{
private UrlHelper _url;
protected UmbracoControl(UmbracoContext umbracoContext, ServiceContext services, CacheHelper appCache)
protected UmbracoControl(UmbracoContext umbracoContext, ServiceContext services)
{
UmbracoContext = umbracoContext ?? throw new ArgumentNullException(nameof(umbracoContext));
Umbraco = new UmbracoHelper(umbracoContext, services, appCache);
Umbraco = new UmbracoHelper(umbracoContext, services);
// fixme inject somehow
Logger = Current.Logger;
@@ -30,7 +30,7 @@ namespace Umbraco.Web.UI.Controls
/// Empty constructor, uses Singleton to resolve the UmbracoContext.
/// </summary>
protected UmbracoControl()
: this(Current.UmbracoContext, Current.Services, Current.ApplicationCache)
: this(Current.UmbracoContext, Current.Services)
{ }
/// <summary>