Skip to content

Commit

Permalink
Remove deprecated usage of environment (elastic#202124)
Browse files Browse the repository at this point in the history
Closes elastic#200720

## Summary

This PR removes deprecated usage of `environment` property. The code
isn't used anymore, therefore can be removed safely.


https://github.com/elastic/kibana/blob/d0d33aab38009fe19cb18bacd3bf1943b5a8043f/src/plugins/home/public/plugin.ts#L202-L208
  • Loading branch information
miloszmarcinkowski authored and CAWilson94 committed Dec 12, 2024
1 parent 1905fd5 commit b7f985f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion x-pack/plugins/observability_solution/apm/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ export class ApmPlugin implements Plugin<ApmPluginSetup, ApmPluginStart> {
const { featureFlags } = config;

if (pluginSetupDeps.home) {
pluginSetupDeps.home.environment.update({ apmUi: true });
pluginSetupDeps.home.featureCatalogue.register(featureCatalogueEntry);
}

Expand Down

0 comments on commit b7f985f

Please sign in to comment.