updated most of the calls from the legacy UmbracoSettings to use the new way - nearly done.
This commit is contained in:
@@ -526,7 +526,7 @@ namespace Umbraco.Web.Cache
|
||||
|
||||
public static void ClearXsltCacheOnCurrentServer(this DistributedCache dc)
|
||||
{
|
||||
if (UmbracoSettings.UmbracoLibraryCacheDuration > 0)
|
||||
if (UmbracoConfiguration.Current.UmbracoSettings.Content.UmbracoLibraryCacheDuration > 0)
|
||||
{
|
||||
ApplicationContext.Current.ApplicationCache.ClearCacheObjectTypes("MS.Internal.Xml.XPath.XPathSelectionIterator");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user