Skip to content
Merged
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
14 changes: 7 additions & 7 deletions src/Command/IndexService/EsSyncCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,6 @@ protected function configure(): void
{
parent::configure();

trigger_deprecation(
'pimcore/ecommerce-framework-bundle',
'2.0.0',
'The command "%s" is deprecated and will be removed in a future version. Please use the ecommerce:indexservice:search-index-sync instead.',
$this->getName()
);

$this
->setName('ecommerce:indexservice:elasticsearch-sync')
->setDescription(
Expand All @@ -60,6 +53,13 @@ protected function configure(): void

protected function execute(InputInterface $input, OutputInterface $output): int
{
trigger_deprecation(
'pimcore/ecommerce-framework-bundle',
'1.3',
'The command "%s" is deprecated and will be removed in a future version. Please use the ecommerce:indexservice:search-index-sync instead.',
$this->getName()
);

$mode = $input->getArgument('mode');
$tenantName = $input->getOption('tenant');

Expand Down