Rename models builder modes (#10272)
* Renaming AppData Models Builder mode * Renaming PureLive Models Builder mode to Runtime * ModelsBuilderAssembly attribute flags if models are "Live" or not * Updated ModelsMode names * Only add tag if it is not a pull request. Apparently this is not allowed when it is from a fork. * Revert "Only add tag if it is not a pull request. Apparently this is not allowed when it is from a fork." This reverts commit 92b33f3c Co-authored-by: Bjarke Berg <mail@bergmania.dk>
This commit is contained in:
@@ -17,7 +17,7 @@ namespace Umbraco.Cms.Core.Configuration.Models
|
||||
/// <summary>
|
||||
/// Gets or sets a value for the models mode.
|
||||
/// </summary>
|
||||
public ModelsMode ModelsMode { get; set; } = ModelsMode.PureLive;
|
||||
public ModelsMode ModelsMode { get; set; } = ModelsMode.InMemoryAuto;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value for models namespace.
|
||||
@@ -39,7 +39,7 @@ namespace Umbraco.Cms.Core.Configuration.Models
|
||||
|
||||
set
|
||||
{
|
||||
if (!ModelsMode.IsLive())
|
||||
if (!ModelsMode.IsAuto())
|
||||
{
|
||||
_flagOutOfDateModels = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user