Merge branch '7.0.0' into 7.0.0-pubcontent
Conflicts: src/Umbraco.Core/Cache/HttpRuntimeCacheProvider.cs src/Umbraco.Core/PublishedContentHelper.cs src/Umbraco.Tests/Umbraco.Tests.csproj src/Umbraco.Web/Models/XmlPublishedContent.cs src/Umbraco.Web/Models/XmlPublishedContentProperty.cs src/Umbraco.Web/Templates/TemplateUtilities.cs
This commit is contained in:
@@ -227,7 +227,7 @@ namespace Umbraco.Web.PublishedCache.XmlPublishedCache
|
||||
// that switch schemas fail - so cache and refresh when needed,
|
||||
// ie never when running the actual site
|
||||
|
||||
var version = UmbracoConfiguration.Current.UmbracoSettings.Content.UseLegacyXmlSchema ? 0 : 1;
|
||||
var version = UmbracoConfig.For.UmbracoSettings().Content.UseLegacyXmlSchema ? 0 : 1;
|
||||
if (_xPathStringsValue == null || _xPathStringsValue.Version != version)
|
||||
_xPathStringsValue = new XPathStringsDefinition(version);
|
||||
return _xPathStringsValue;
|
||||
|
||||
Reference in New Issue
Block a user