File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -35,13 +35,6 @@ protected function configure(): void
3535 {
3636 parent ::configure ();
3737
38- trigger_deprecation (
39- 'pimcore/ecommerce-framework-bundle ' ,
40- '2.0.0 ' ,
41- 'The command "%s" is deprecated and will be removed in a future version. Please use the ecommerce:indexservice:search-index-sync instead. ' ,
42- $ this ->getName ()
43- );
44-
4538 $ this
4639 ->setName ('ecommerce:indexservice:elasticsearch-sync ' )
4740 ->setDescription (
@@ -60,6 +53,13 @@ protected function configure(): void
6053
6154 protected function execute (InputInterface $ input , OutputInterface $ output ): int
6255 {
56+ trigger_deprecation (
57+ 'pimcore/ecommerce-framework-bundle ' ,
58+ '1.3 ' ,
59+ 'The command "%s" is deprecated and will be removed in a future version. Please use the ecommerce:indexservice:search-index-sync instead. ' ,
60+ $ this ->getName ()
61+ );
62+
6363 $ mode = $ input ->getArgument ('mode ' );
6464 $ tenantName = $ input ->getOption ('tenant ' );
6565
You can’t perform that action at this time.
0 commit comments