File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616use OCA \ProfileFields \Listener \RegisterWorkflowOperationListener ;
1717use OCA \ProfileFields \Listener \UserDeletedCleanupListener ;
1818use OCA \ProfileFields \Notification \Notifier ;
19+ use OCA \ProfileFields \Search \ProfileFieldSearchProvider ;
1920use OCP \AppFramework \App ;
2021use OCP \AppFramework \Bootstrap \IBootContext ;
2122use OCP \AppFramework \Bootstrap \IBootstrap ;
@@ -42,6 +43,7 @@ public function __construct() {
4243 #[\Override]
4344 public function register (IRegistrationContext $ context ): void {
4445 $ context ->registerNotifierService (Notifier::class);
46+ $ context ->registerSearchProvider (ProfileFieldSearchProvider::class);
4547 $ context ->registerEventListener ('\\OCA \\Settings \\Events \\BeforeTemplateRenderedEvent ' , BeforeTemplateRenderedListener::class);
4648 $ context ->registerEventListener (UserDeletedEvent::class, UserDeletedCleanupListener::class);
4749 $ context ->registerEventListener (RegisterEntitiesEvent::class, RegisterWorkflowEntityListener::class);
You can’t perform that action at this time.
0 commit comments