Skip to content

Commit cf9ea5b

Browse files
viktymiivashchenko
authored andcommitted
MAGETWO-68969: sales_sequence_meta table contents are different depending on whether Magento was upgraded vs installed
- Replace InstallData with RecurringData since we need this functionality during install and upgrade flows
1 parent 0805bf8 commit cf9ea5b

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

app/code/Magento/SalesSequence/Setup/InstallData.php renamed to app/code/Magento/SalesSequence/Setup/RecurringData.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,9 @@
1414
use Magento\SalesSequence\Model\EntityPool;
1515

1616
/**
17-
* Class InstallData
18-
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
19-
* @codeCoverageIgnore
17+
* Recurring data upgrade for SalesSequence module.
2018
*/
21-
class InstallData implements InstallDataInterface
19+
class RecurringData implements InstallDataInterface
2220
{
2321
/**
2422
* Sales setup factory
@@ -54,7 +52,6 @@ public function __construct(
5452

5553
/**
5654
* {@inheritdoc}
57-
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
5855
*/
5956
public function install(ModuleDataSetupInterface $setup, ModuleContextInterface $context)
6057
{

0 commit comments

Comments
 (0)