Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IBX-143: Fixed merge-up of reindex command changes #178

Merged
merged 1 commit into from
Apr 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions eZ/Bundle/EzPublishCoreBundle/Command/ReindexCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
use Symfony\Component\Console\Style\SymfonyStyle;
use function count;
use const DIRECTORY_SEPARATOR;
use Doctrine\DBAL\Connection;
use eZ\Publish\Core\Base\Exceptions\InvalidArgumentException;
use eZ\Publish\Core\Search\Common\Indexer;
use eZ\Publish\Core\Search\Common\IncrementalIndexer;
Expand Down Expand Up @@ -58,7 +57,6 @@ class ReindexCommand extends Command implements BackwardCompatibleCommand

public function __construct(
$searchIndexer,
Connection $connection,
Handler $locationHandler,
IndexerGateway $gateway,
LoggerInterface $logger,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ services:
$projectDir: '%kernel.project_dir%'
$isDebug: '%kernel.debug%'
tags:
- { name: console.command, command: ezplatform:reindex }
- { name: console.command }
14 changes: 0 additions & 14 deletions eZ/Bundle/EzPublishCoreBundle/Resources/config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -343,20 +343,6 @@ services:
tags:
- { name: console.command }

ezplatform.core.command.reindex:
class: eZ\Bundle\EzPublishCoreBundle\Command\ReindexCommand
arguments:
$searchIndexer: '@ezpublish.spi.search.indexer'
$connection: '@ezpublish.api.storage_engine.legacy.connection'
$locationHandler: '@ezpublish.spi.persistence.location_handler'
$logger: '@logger'
$siteaccess: '@ezpublish.siteaccess'
$env: '%kernel.environment%'
$projectDir: '%kernel.project_dir%'
$isDebug: '%kernel.debug%'
tags:
- { name: console.command }

ibexa.doctrine.orm.entity_manager:
class: Doctrine\ORM\EntityManager
lazy: true
Expand Down