Update DefaultCacheStorageProvider.cs

This commit is contained in:
jtkech
2015-10-02 02:15:08 +02:00
parent f3902feb35
commit 44a342c4fe

View File

@@ -27,6 +27,7 @@ namespace Orchard.OutputCache.Services {
}
public void Remove(string key) {
if (_workContext.HttpContext != null)
_workContext.HttpContext.Cache.Remove(key);
}