Streamlines how macro cache is handled

This commit is contained in:
Shannon Deminick
2013-03-12 03:00:42 +04:00
parent 164f22aa50
commit ec46d65bb4
18 changed files with 167 additions and 141 deletions

View File

@@ -40,7 +40,7 @@ namespace Umbraco.Core
{
//create a new application cache from the HttpRuntime.Cache
ApplicationCache = HttpRuntime.Cache == null
? new CacheHelper(new Cache())
? new CacheHelper(new System.Web.Caching.Cache())
: new CacheHelper(HttpRuntime.Cache);
}