diff --git a/src/Orchard/Mvc/ViewEngines/ThemeViewLocationCache.cs b/src/Orchard/Mvc/ViewEngines/ThemeViewLocationCache.cs index 356ebc78d..a5a39f1eb 100644 --- a/src/Orchard/Mvc/ViewEngines/ThemeViewLocationCache.cs +++ b/src/Orchard/Mvc/ViewEngines/ThemeViewLocationCache.cs @@ -32,7 +32,7 @@ namespace Orchard.Mvc.ViewEngines { throw new ArgumentNullException("httpContext"); } - httpContext.Cache.Insert(AlterKey(key), virtualPath, new CacheDependency(HostingEnvironment.MapPath("~/Themes")), Cache.NoAbsoluteExpiration, TimeSpan); + httpContext.Cache.Insert(AlterKey(key), virtualPath, new CacheDependency(HostingEnvironment.MapPath("~/Themes"))); } } }