User and User type from the old businesslogic assembly are GONE!

This commit is contained in:
Shannon
2016-03-16 17:52:08 +01:00
parent f594a1132d
commit 9ac2d04aea
85 changed files with 367 additions and 1613 deletions

View File

@@ -50,7 +50,7 @@ namespace Umbraco.Web.PublishedCache.XmlPublishedCache
{
var previewContent = PreviewContentCache.GetOrCreateValue(context); // will use the ctor with no parameters
var previewVal = HttpContext.Current.Request.GetPreviewCookieValue();
previewContent.EnsureInitialized(context.UmbracoUser, previewVal, true, () =>
previewContent.EnsureInitialized(context.Security.CurrentUser, previewVal, true, () =>
{
if (previewContent.ValidPreviewSet)
previewContent.LoadPreviewset();