Kill UmbracoContext.Current

This commit is contained in:
Stephan
2019-02-14 09:49:45 +01:00
parent 969c2aa184
commit abceda7750
35 changed files with 121 additions and 110 deletions

View File

@@ -13,7 +13,7 @@ namespace Umbraco.Tests.LegacyXmlPublishedCache
{
get
{
var umbracoContext = UmbracoContext.Current;
var umbracoContext = Umbraco.Web.Composing.Current.UmbracoContext;
// will get or create a value
// a ConditionalWeakTable is thread-safe