Skip to content

Commit 81d29d0

Browse files
author
Bohdan Korablov
committed
MAGETWO-58658: [PR ]Delivery of bug fixes for Setup, Sample Data and Import/Export
1 parent 47201fe commit 81d29d0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/code/Magento/CatalogInventory/Setup/UpgradeData.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ public function __construct(
5454
public function upgrade(ModuleDataSetupInterface $setup, ModuleContextInterface $context)
5555
{
5656
$setup->startSetup();
57-
if (version_compare($context->getVersion(), '2.0.2') < 0)
58-
{
57+
if (version_compare($context->getVersion(), '2.0.2') < 0) {
5958
$this->upgradeCatalogInventoryStockItem($setup);
6059
}
6160
$setup->endSetup();

0 commit comments

Comments
 (0)