Streamlines cache helper ctor's

This commit is contained in:
Shannon
2013-08-09 11:37:57 +10:00
parent 4d55122cd4
commit 75ceb539b4
6 changed files with 97 additions and 34 deletions

View File

@@ -7,6 +7,7 @@ using System.Web.Mvc;
using System.Web.Routing;
using StackExchange.Profiling.MVCHelpers;
using Umbraco.Core;
using Umbraco.Core.Cache;
using Umbraco.Core.Configuration;
using Umbraco.Core.Dictionary;
using Umbraco.Core.Dynamics;
@@ -150,7 +151,8 @@ namespace Umbraco.Web
/// </summary>
protected override void CreateApplicationCache()
{
ApplicationCache = new CacheHelper(HttpRuntime.Cache, true);
//create a web-based cache helper
ApplicationCache = new CacheHelper();
}
/// <summary>