mirror of
https://github.com/Codappix/search_core.git
synced 2024-12-23 12:36:10 +01:00
TASK: Remove unused code
E.g. use statement and injected object manager.
This commit is contained in:
parent
7f2249e3ff
commit
09cbaede29
2 changed files with 1 additions and 11 deletions
|
@ -26,19 +26,12 @@ use Codappix\SearchCore\Connection\ConnectionInterface;
|
|||
use Codappix\SearchCore\Domain\Index\TcaIndexer;
|
||||
use TYPO3\CMS\Core\Utility\GeneralUtility;
|
||||
use TYPO3\CMS\Core\Utility\RootlineUtility;
|
||||
use TYPO3\CMS\Extbase\Object\ObjectManager;
|
||||
use TYPO3\CMS\Extbase\Object\ObjectManagerInterface;
|
||||
|
||||
/**
|
||||
* Specific indexer for Pages, will basically add content of page.
|
||||
*/
|
||||
class PagesIndexer extends TcaIndexer
|
||||
{
|
||||
/**
|
||||
* @var ObjectManagerInterface
|
||||
*/
|
||||
protected $objectManager;
|
||||
|
||||
/**
|
||||
* @var TcaTableServiceInterface
|
||||
*/
|
||||
|
@ -54,12 +47,10 @@ class PagesIndexer extends TcaIndexer
|
|||
TcaTableServiceInterface $tcaTableService,
|
||||
TcaTableServiceInterface $contentTableService,
|
||||
ConnectionInterface $connection,
|
||||
ConfigurationContainerInterface $configuration,
|
||||
ObjectManagerInterface $objectManager
|
||||
ConfigurationContainerInterface $configuration
|
||||
) {
|
||||
parent::__construct($tcaTableService, $connection, $configuration);
|
||||
$this->contentTableService = $contentTableService;
|
||||
$this->objectManager = $objectManager;
|
||||
}
|
||||
|
||||
protected function prepareRecord(array &$record)
|
||||
|
|
|
@ -24,7 +24,6 @@ namespace Codappix\SearchCore\Domain\Model;
|
|||
use Codappix\SearchCore\Connection\ConnectionInterface;
|
||||
use Codappix\SearchCore\Connection\FacetRequestInterface;
|
||||
use Codappix\SearchCore\Connection\SearchRequestInterface;
|
||||
use Codappix\SearchCore\Connection\SearchResultInterface;
|
||||
use Codappix\SearchCore\Domain\Search\SearchServiceInterface;
|
||||
use Codappix\SearchCore\Utility\ArrayUtility;
|
||||
|
||||
|
|
Loading…
Reference in a new issue