adding an event

This commit is contained in:
Shannon
2020-04-20 22:45:12 +10:00
parent d9cb9f27f1
commit 44df0dda2b
2 changed files with 18 additions and 2 deletions

View File

@@ -858,6 +858,8 @@ namespace Umbraco.Web.PublishedCache.NuCache
Notify<IContentType>(_contentStore, payloads, RefreshContentTypesLocked);
Notify<IMediaType>(_mediaStore, payloads, RefreshMediaTypesLocked);
OnNotified(new NotifiedEventArgs<ContentTypeCacheRefresher.JsonPayload>(payloads));
if (_publishedModelFactory.IsLiveFactory())
{
//In the case of Pure Live - we actually need to refresh all of the content and the media