summaryrefslogtreecommitdiffstats
path: root/apps/comments/lib/AppInfo/Application.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/comments/lib/AppInfo/Application.php')
-rw-r--r--apps/comments/lib/AppInfo/Application.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/comments/lib/AppInfo/Application.php b/apps/comments/lib/AppInfo/Application.php
index 247ba034107..4eb097ff001 100644
--- a/apps/comments/lib/AppInfo/Application.php
+++ b/apps/comments/lib/AppInfo/Application.php
@@ -37,7 +37,7 @@ use OCA\Comments\Listener\LoadAdditionalScripts;
use OCA\Comments\Listener\LoadSidebarScripts;
use OCA\Comments\Notification\Notifier;
use OCA\Comments\Search\LegacyProvider;
-use OCA\Comments\Search\Provider;
+use OCA\Comments\Search\CommentsSearchProvider;
use OCA\Files\Event\LoadAdditionalScriptsEvent;
use OCA\Files\Event\LoadSidebar;
use OCP\AppFramework\App;
@@ -74,7 +74,7 @@ class Application extends App implements IBootstrap {
CommentsEntityEvent::EVENT_ENTITY,
CommentsEntityEventListener::class
);
- $context->registerSearchProvider(Provider::class);
+ $context->registerSearchProvider(CommentsSearchProvider::class);
}
public function boot(IBootContext $context): void {