]> source.dussan.org Git - nextcloud-server.git/commitdiff
remove unused properties
authorsorbaugh <stephan.orbaugh@nextcloud.com>
Wed, 11 Oct 2023 10:23:14 +0000 (12:23 +0200)
committerArthur Schiwon <blizzz@arthur-schiwon.de>
Thu, 12 Oct 2023 10:36:19 +0000 (12:36 +0200)
Signed-off-by: sorbaugh <stephan.orbaugh@nextcloud.com>
apps/settings/lib/Search/UserSearch.php

index ad34befe9f3b7cb60187b98ae7ba68c1c22159f3..1b96d761916ee54ed9ac29360404880c5ac99fe2 100644 (file)
@@ -26,48 +26,20 @@ declare(strict_types=1);
  */
 namespace OCA\Settings\Search;
 
-use OCP\Accounts\IAccountManager;
-use OCP\IGroupManager;
 use OCP\IL10N;
-use OCP\IURLGenerator;
 use OCP\IUser;
-use OCP\IUserManager;
 use OCP\Search\IProvider;
 use OCP\Search\ISearchQuery;
 use OCP\Search\SearchResult;
-use OCP\Settings\IManager;
 
 class UserSearch implements IProvider {
 
-       /** @var IManager */
-       protected $settingsManager;
-
-       /** @var IGroupManager */
-       protected $groupManager;
-
-       /** @var IURLGenerator */
-       protected $urlGenerator;
 
        /** @var IL10N */
        protected $l;
 
-       /** @var IUserManager */
-       protected $userManager;
-
-       /** @var IAccountManager */
-       protected $accountManager;
-
-       public function __construct(IManager $settingsManager,
-                                                               IGroupManager $groupManager,
-                                                               IURLGenerator $urlGenerator,
-                                                               IUserManager $userManager,
-                                                               IAccountManager $accountManager,
+       public function __construct(
                                                                IL10N $l) {
-               $this->settingsManager = $settingsManager;
-               $this->groupManager = $groupManager;
-               $this->urlGenerator = $urlGenerator;
-               $this->userManager = $userManager;
-               $this->accountManager = $accountManager;
                $this->l = $l;
        }