Cleanup of WebRuntimeComposer

This commit is contained in:
Warren Buckley
2019-01-23 15:09:31 +00:00
parent f2cc0eebf5
commit 5e9f861991

View File

@@ -204,23 +204,9 @@ namespace Umbraco.Web.Runtime
.Append<TranslationBackOfficeSection>();
// register core CMS dashboards as types - will be ordered by weight attribute & merged with package.manifest dashboards
// TODO WB Maybe use typeloader?!
// register core CMS dashboards and 3rd party types - will be ordered by weight attribute & merged with package.manifest dashboards
composition.WithCollectionBuilder<DashboardCollectionBuilder>()
.Add(composition.TypeLoader.GetTypes<IDashboardSection>());
//.Add<ContentDashboard>()
//.Add<RedirectUrlDashboard>()
//.Add<MediaDashboard>()
//.Add<SettingsDashboard>()
//.Add<ExamineDashboard>()
//.Add<PublishedStatusDashboard>()
//.Add<ModelsBuilderDashboard>()
//.Add<HealthCheckDashboard>()
//.Add<MembersDashboard>()
//.Add<FormsDashboard>();
.Add(composition.TypeLoader.GetTypes<IDashboardSection>());
// register back office trees
foreach (var treeControllerType in umbracoApiControllerTypes