Skip to content

Commit 013e5f4

Browse files
committed
Cleanup SavedObjectRegistryProvider from discover (merge leftover)
1 parent 4cf7a3b commit 013e5f4

File tree

1 file changed

+0
-5
lines changed
  • src/legacy/core_plugins/kibana/public/discover

1 file changed

+0
-5
lines changed

src/legacy/core_plugins/kibana/public/discover/index.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
*/
1919
import { PluginInitializer, PluginInitializerContext } from 'kibana/public';
2020
import { npSetup, npStart } from 'ui/new_platform';
21-
import { SavedObjectRegistryProvider } from 'ui/saved_objects';
2221
import { DiscoverPlugin, DiscoverSetup, DiscoverStart } from './plugin';
2322

2423
// Core will be looking for this when loading our plugin in the new platform
@@ -33,8 +32,4 @@ export const pluginInstance = plugin({} as PluginInitializerContext);
3332
pluginInstance.start(npStart.core, npStart.plugins);
3433
})();
3534

36-
SavedObjectRegistryProvider.register((savedSearches: any) => {
37-
return savedSearches;
38-
});
39-
4035
export { createSavedSearchesService } from './saved_searches/saved_searches';

0 commit comments

Comments
 (0)