From 412b1b613070291fa16c3bd6f19422b6326e9b75 Mon Sep 17 00:00:00 2001 From: Stefan Froemken Date: Fri, 17 May 2024 13:09:01 +0200 Subject: [PATCH] Remove unused imports --- Classes/IndexQueue/PageIndexer.php | 1 - Classes/System/Util/SiteUtility.php | 3 --- Classes/ViewHelpers/SearchFormViewHelper.php | 1 - 3 files changed, 5 deletions(-) diff --git a/Classes/IndexQueue/PageIndexer.php b/Classes/IndexQueue/PageIndexer.php index 14ab1ab254..23c96b21aa 100644 --- a/Classes/IndexQueue/PageIndexer.php +++ b/Classes/IndexQueue/PageIndexer.php @@ -22,7 +22,6 @@ use ApacheSolrForTypo3\Solr\Domain\Index\PageIndexer\PageUriBuilder; use ApacheSolrForTypo3\Solr\NoSolrConnectionFoundException; use ApacheSolrForTypo3\Solr\System\Solr\SolrConnection; -use ApacheSolrForTypo3\Solr\System\Util\SiteUtility; use Doctrine\DBAL\Exception as DBALException; use Exception; use Psr\Log\LogLevel; diff --git a/Classes/System/Util/SiteUtility.php b/Classes/System/Util/SiteUtility.php index b8ae45353a..1cdd9a5595 100644 --- a/Classes/System/Util/SiteUtility.php +++ b/Classes/System/Util/SiteUtility.php @@ -16,10 +16,7 @@ namespace ApacheSolrForTypo3\Solr\System\Util; use ApacheSolrForTypo3\Solr\Domain\Site\Site as ExtSolrSite; -use TYPO3\CMS\Core\Exception\SiteNotFoundException; use TYPO3\CMS\Core\Site\Entity\Site as CoreSite; -use TYPO3\CMS\Core\Site\SiteFinder; -use TYPO3\CMS\Core\Utility\GeneralUtility; /** * This class contains related functions for the new site management that was introduced with TYPO3 9. diff --git a/Classes/ViewHelpers/SearchFormViewHelper.php b/Classes/ViewHelpers/SearchFormViewHelper.php index 2342bee348..e6eb48c0d4 100644 --- a/Classes/ViewHelpers/SearchFormViewHelper.php +++ b/Classes/ViewHelpers/SearchFormViewHelper.php @@ -18,7 +18,6 @@ namespace ApacheSolrForTypo3\Solr\ViewHelpers; use ApacheSolrForTypo3\Solr\System\Url\UrlHelper; -use ApacheSolrForTypo3\Solr\System\Util\SiteUtility; use TYPO3\CMS\Core\Context\Exception\AspectNotFoundException; use TYPO3\CMS\Core\Utility\ArrayUtility; use TYPO3\CMS\Core\Utility\GeneralUtility;