U4-8223 Remove all old events and event classes

This commit is contained in:
Shannon
2016-03-22 14:18:45 +01:00
parent 286e43bc10
commit 329a48edea
21 changed files with 466 additions and 2337 deletions

View File

@@ -39,15 +39,12 @@ namespace Umbraco.Web.PublishedCache.XmlPublishedCache
/// <param name="args"></param>
private void ResolutionFrozen(object s, EventArgs args)
{
// content - whenever the entire XML cache is rebuilt (from disk cache or from database)
// we must clear the cache entirely
global::umbraco.content.AfterRefreshContent += (sender, e) => Clear();
// document - whenever a document is updated in, or removed from, the XML cache
// we must clear the cache - at the moment, we clear the entire cache
global::umbraco.content.AfterUpdateDocumentCache += (sender, e) => Clear();
global::umbraco.content.AfterClearDocumentCache += (sender, e) => Clear();
// fixme - should refactor once content events are refactored
// the content class needs to be refactored - at the moment
// content.XmlContentInternal setter does not trigger any event