Removes all IRepositoryCacheProvider's, we are just using a single cache construct to which is much easier to manage.

This commit is contained in:
Shannon
2015-01-13 13:33:39 +11:00
parent e3acdbe85b
commit d5c8430cd2
75 changed files with 68 additions and 879 deletions

View File

@@ -4,7 +4,7 @@ using System.Web.Script.Serialization;
using Umbraco.Core;
using Umbraco.Core.Cache;
using Umbraco.Core.Models;
using Umbraco.Core.Persistence.Caching;
using Umbraco.Core.Persistence.Repositories;
namespace Umbraco.Web.Cache
@@ -110,7 +110,6 @@ namespace Umbraco.Web.Cache
{
ApplicationContext.Current.ApplicationCache.RuntimeCache
.ClearCacheByKeySearch(string.Format("{0}.{1}", typeof(IMemberGroup).FullName, payload.Name));
//RuntimeCacheProvider.Current.Delete(typeof(IMemberGroup), payload.Id);
ApplicationContext.Current.ApplicationCache.RuntimeCache.ClearCacheItem(RepositoryBase.GetCacheIdKey<IMemberGroup>(payload.Id));
}
});