From e6d75f27de0866f7188d58aefe3c8c005f8d8c86 Mon Sep 17 00:00:00 2001 From: Stephan Date: Mon, 1 Apr 2019 08:23:48 +0200 Subject: [PATCH] Alt. preview: rename modes --- .../umbraco/preview/PreviewContent.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Umbraco.Web/umbraco.presentation/umbraco/preview/PreviewContent.cs b/src/Umbraco.Web/umbraco.presentation/umbraco/preview/PreviewContent.cs index 815db997f0..c8e1ac145c 100644 --- a/src/Umbraco.Web/umbraco.presentation/umbraco/preview/PreviewContent.cs +++ b/src/Umbraco.Web/umbraco.presentation/umbraco/preview/PreviewContent.cs @@ -15,14 +15,14 @@ namespace umbraco.presentation.preview public enum PreviewMode { Unknown = 0, // default value - Vintage, - SinglePreview + Legacy, + Default } public class PreviewContent { private static PreviewMode _previewMode; - private const PreviewMode DefaultPreviewMode = PreviewMode.SinglePreview; + private const PreviewMode DefaultPreviewMode = PreviewMode.Default; private static int _singlePreviewCacheDurationSeconds = -1; private const int DefaultSinglePreviewCacheDurationSeconds = 60; @@ -62,7 +62,7 @@ namespace umbraco.presentation.preview } } - public static bool IsSinglePreview => PreviewMode == PreviewMode.SinglePreview; + public static bool IsSinglePreview => PreviewMode == PreviewMode.Default; public XmlDocument XmlContent { get; set; } public Guid PreviewSet { get; set; }