Merge branch '7.1.0' of https://github.com/umbraco/Umbraco-CMS into 7.1.0
This commit is contained in:
@@ -105,9 +105,12 @@ namespace Umbraco.Web.Cache
|
||||
|
||||
payloads.ForEach(payload =>
|
||||
{
|
||||
ApplicationContext.Current.ApplicationCache.RuntimeCache
|
||||
.ClearCacheByKeySearch(string.Format("{0}.{1}", typeof(IMemberGroup).FullName, payload.Name));
|
||||
RuntimeCacheProvider.Current.Delete(typeof(IMemberGroup), payload.Id);
|
||||
if (payload != null)
|
||||
{
|
||||
ApplicationContext.Current.ApplicationCache.RuntimeCache
|
||||
.ClearCacheByKeySearch(string.Format("{0}.{1}", typeof(IMemberGroup).FullName, payload.Name));
|
||||
RuntimeCacheProvider.Current.Delete(typeof(IMemberGroup), payload.Id);
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user