Completes: U4-6186 Remove all support for legacy xml schema

This commit is contained in:
Shannon
2015-01-27 15:18:58 +11:00
parent 7c5e68dd1c
commit bd34193cfd
37 changed files with 81 additions and 969 deletions

View File

@@ -235,7 +235,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 = UmbracoConfig.For.UmbracoSettings().Content.UseLegacyXmlSchema ? 0 : 1;
var version = 1;
if (_xPathStringsValue == null || _xPathStringsValue.Version != version)
_xPathStringsValue = new XPathStringsDefinition(version);
return _xPathStringsValue;