updated most of the calls from the legacy UmbracoSettings to use the new way - nearly done.

This commit is contained in:
Shannon
2013-09-13 18:36:41 +10:00
parent f38a6e1561
commit 7538698e7b
49 changed files with 151 additions and 114 deletions

View File

@@ -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");
}