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
(cherry picked from commit 979f3e8)
  • Loading branch information
miloszmarcinkowski committed Nov 28, 2024
1 parent 2850e29 commit fa7f524
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 fa7f524

Please sign in to comment.