Fixes merge issues, fixes up some unit tests, removes the For<T> config section stuff and simplifies the singleton, refactors it with methods as per discussion with stephen.
This commit is contained in:
@@ -253,7 +253,7 @@ namespace Umbraco.Web.PublishedCache.XmlPublishedCache
|
||||
if (xpath == null) throw new ArgumentNullException("xpath");
|
||||
|
||||
var values = new Dictionary<string, string> {{"nodeName", xpath.GetAttribute("nodeName", "")}};
|
||||
if (!UmbracoConfiguration.Current.UmbracoSettings.Content.UseLegacyXmlSchema)
|
||||
if (!UmbracoConfig.For.UmbracoSettings().Content.UseLegacyXmlSchema)
|
||||
{
|
||||
values.Add("nodeTypeAlias", xpath.Name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user