Great AppCaches renaming

This commit is contained in:
Stephan
2019-01-17 11:01:23 +01:00
parent 67e4703821
commit 0bee01e0ee
108 changed files with 1538 additions and 1440 deletions

View File

@@ -40,9 +40,9 @@ namespace Umbraco.Web.Cache
public override void Remove(int id)
{
var userCache = AppCaches.IsolatedRuntimeCache.GetCache<IUser>();
var userCache = AppCaches.IsolatedCaches.Get<IUser>();
if (userCache)
userCache.Result.ClearCacheItem(RepositoryCacheKeys.GetKey<IUser>(id));
userCache.Result.Clear(RepositoryCacheKeys.GetKey<IUser>(id));
base.Remove(id);
}