Skip to content

Commit 34c1818

Browse files
committed
Fix bug 16315: Change function's name
1 parent f2a562c commit 34c1818

File tree

1 file changed

+3
-3
lines changed
  • app/code/Magento/Catalog/Model/Indexer/Product/Flat/Action

1 file changed

+3
-3
lines changed

app/code/Magento/Catalog/Model/Indexer/Product/Flat/Action/Row.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public function execute($id = null)
8585
$ids = [$id];
8686
$linkField = $this->metadataPool->getMetadata(ProductInterface::class)->getLinkField();
8787

88-
$storeIds = $this->getProductAvailableStores($id);
88+
$storeIds = $this->getAssignedStoreIdsOfProduct($id);
8989

9090
$stores = $this->_storeManager->getStores();
9191
foreach ($stores as $store) {
@@ -137,12 +137,12 @@ public function execute($id = null)
137137
}
138138

139139
/**
140-
* Get list store id where product is enable
140+
* Get list store id where the product is enable
141141
*
142142
* @param int $productId
143143
* @return array
144144
*/
145-
private function getProductAvailableStores($productId)
145+
private function getAssignedStoreIdsOfProduct($productId)
146146
{
147147
$select = $this->_connection->select();
148148
$select->from(['e' => $this->_productIndexerHelper->getTable('store')], ['e.store_id'])

0 commit comments

Comments
 (0)