Skip to content

Commit

Permalink
Remove deprecated usage of environment (#202124)
Browse files Browse the repository at this point in the history
Closes #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 Nov 28, 2024
1 parent d17f1d5 commit 979f3e8
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 979f3e8

Please sign in to comment.