From 94265812f2223161b09ac83f217bffdf23aa4274 Mon Sep 17 00:00:00 2001 From: sorbaugh Date: Wed, 13 Sep 2023 14:24:32 +0200 Subject: [PATCH] Remove unneeded includes. Usage: 1. Type a string in the search bar 2. Add in:users filter to avoid unnecessary searches in other apps --- apps/settings/lib/Search/UserSearch.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/apps/settings/lib/Search/UserSearch.php b/apps/settings/lib/Search/UserSearch.php index 8ae2eeafaa8..ad34befe9f3 100644 --- a/apps/settings/lib/Search/UserSearch.php +++ b/apps/settings/lib/Search/UserSearch.php @@ -27,8 +27,6 @@ declare(strict_types=1); namespace OCA\Settings\Search; use OCP\Accounts\IAccountManager; -use OCP\AppFramework\Http\DataResponse; -use OCP\AppFramework\OCS\OCSNotFoundException; use OCP\IGroupManager; use OCP\IL10N; use OCP\IURLGenerator; @@ -37,8 +35,6 @@ use OCP\IUserManager; use OCP\Search\IProvider; use OCP\Search\ISearchQuery; use OCP\Search\SearchResult; -use OCP\Search\SearchResultEntry; -use OCP\Settings\IIconSection; use OCP\Settings\IManager; class UserSearch implements IProvider { -- 2.39.5