Skip to content

Commit 2900636

Browse files
committed
ACP2E-2843: Products on the frontend use store specific data when Single-Store Mode is enabled
- solution with test coverage
1 parent 9750462 commit 2900636

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

app/code/Magento/Catalog/Model/ResourceModel/CatalogCategoryAndProductResolverOnSingleStoreMode.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,12 @@ public function migrateCatalogCategoryAndProductTables(int $storeId): void
120120
* @param array $linkFieldIds
121121
* @return void
122122
*/
123-
private function massDelete(string $catalogProductTable, string $linkField, array $attributeIds, array $linkFieldIds): void
124-
{
123+
private function massDelete(
124+
string $catalogProductTable,
125+
string $linkField,
126+
array $attributeIds,
127+
array $linkFieldIds
128+
): void {
125129
$connection = $this->resourceConnection->getConnection();
126130

127131
$connection->delete(

0 commit comments

Comments
 (0)