Skip to content

Commit

Permalink
Cleanup SavedObjectRegistryProvider from discover (merge leftover)
Browse files Browse the repository at this point in the history
  • Loading branch information
kertal committed Dec 19, 2019
1 parent 4cf7a3b commit 013e5f4
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/legacy/core_plugins/kibana/public/discover/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
*/
import { PluginInitializer, PluginInitializerContext } from 'kibana/public';
import { npSetup, npStart } from 'ui/new_platform';
import { SavedObjectRegistryProvider } from 'ui/saved_objects';
import { DiscoverPlugin, DiscoverSetup, DiscoverStart } from './plugin';

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

SavedObjectRegistryProvider.register((savedSearches: any) => {
return savedSearches;
});

export { createSavedSearchesService } from './saved_searches/saved_searches';

0 comments on commit 013e5f4

Please sign in to comment.