Make ValueEditorCacheRefresher a distributed cache refresher

This commit is contained in:
Nikolaj
2021-08-30 10:45:47 +02:00
parent 90bc927d66
commit d448ddd7df
4 changed files with 63 additions and 12 deletions

View File

@@ -256,9 +256,6 @@ namespace Umbraco.Cms.Core.DependencyInjection
// Register ValueEditorCache used for validation
Services.AddSingleton<IValueEditorCache, ValueEditorCache>();
Services
.AddNotificationHandler<DataTypeSavedNotification, ValueEditorCacheRefresher>()
.AddNotificationHandler<DataTypeDeletedNotification, ValueEditorCacheRefresher>();
}
}
}