Removed obsolete methods from Umbraco.Web which are not used.

This commit is contained in:
Anthony
2018-07-01 18:06:00 +01:00
parent c95340ab78
commit 7affbbd186
16 changed files with 6 additions and 190 deletions

View File

@@ -1,5 +1,4 @@
using System;
using System.Linq;
using System.Linq;
using Umbraco.Core.Models;
using Umbraco.Core.Services.Changes;
@@ -175,17 +174,6 @@ namespace Umbraco.Web.Cache
dc.Remove(MemberCacheRefresher.UniqueId, x => x.Id, members);
}
[Obsolete("Use the RefreshMemberCache with strongly typed IMember objects instead")]
public static void RefreshMemberCache(this DistributedCache dc, int memberId)
{
dc.Refresh(MemberCacheRefresher.UniqueId, memberId);
}
[Obsolete("Use the RemoveMemberCache with strongly typed IMember objects instead")]
public static void RemoveMemberCache(this DistributedCache dc, int memberId)
{
dc.Remove(MemberCacheRefresher.UniqueId, memberId);
}
#endregion