mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Update DefaultCacheStorageProvider.cs
This commit is contained in:
@@ -27,6 +27,7 @@ namespace Orchard.OutputCache.Services {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void Remove(string key) {
|
public void Remove(string key) {
|
||||||
|
if (_workContext.HttpContext != null)
|
||||||
_workContext.HttpContext.Cache.Remove(key);
|
_workContext.HttpContext.Cache.Remove(key);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user