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

@@ -12,7 +12,7 @@ using Umbraco.Core.Models;
using Umbraco.Core.Models.Membership;
using Umbraco.Core.Models.Rdbms;
using Umbraco.Core.Persistence;
using Umbraco.Core.Persistence.Caching;
using Umbraco.Core.Persistence.DatabaseModelDefinitions;
using Umbraco.Core.Persistence.Querying;
using Umbraco.Core.Persistence.Repositories;
@@ -1329,11 +1329,6 @@ namespace Umbraco.Core.Services
Copied.RaiseEvent(new CopyEventArgs<IContent>(content, copy, false, parentId, relateToOriginal), this);
Audit.Add(AuditTypes.Copy, "Copy Content performed by user", content.WriterId, content.Id);
////TODO: Don't think we need this here because cache should be cleared by the event listeners
//// and the correct ICacheRefreshers!?
//RuntimeCacheProvider.Current.Clear();
return copy;
}
}