]> source.dussan.org Git - nextcloud-server.git/commitdiff
Remove unneeded includes.
authorsorbaugh <stephan_orbaugh@hotmail.com>
Wed, 13 Sep 2023 12:24:32 +0000 (14:24 +0200)
committerArthur Schiwon <blizzz@arthur-schiwon.de>
Thu, 12 Oct 2023 10:36:18 +0000 (12:36 +0200)
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

index 8ae2eeafaa8a5e13fff3a5f25986083a6a857a3f..ad34befe9f3b7cb60187b98ae7ba68c1c22159f3 100644 (file)
@@ -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 {