Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 0067244

Browse files
committed
MSI: Update Magento 2 core to support MSI
1 parent 9573d88 commit 0067244

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

app/code/Magento/Store/Setup/InstallSchema.php

Whitespace-only changes.

app/code/Magento/Store/Setup/Recurring.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
use Magento\Framework\Setup\InstallSchemaInterface;
1111
use Magento\Framework\Setup\ModuleContextInterface;
1212
use Magento\Framework\Setup\SchemaSetupInterface;
13+
use Magento\Store\Api\Data\WebsiteInterface;
1314

1415
/**
1516
* Recurring setup for Store module.
@@ -60,7 +61,7 @@ public function install(SchemaSetupInterface $setup, ModuleContextInterface $con
6061
$installer->getTable('store_website'),
6162
[
6263
'website_id' => 0,
63-
'code' => 'admin',
64+
'code' => WebsiteInterface::ADMIN_CODE,
6465
'name' => 'Admin',
6566
'sort_order' => 0,
6667
'default_group_id' => 0,

0 commit comments

Comments
 (0)