Skip to content

Commit f88e2b2

Browse files
committed
removed unused variable
1 parent 81d2a17 commit f88e2b2

File tree

1 file changed

+0
-1
lines changed
  • app/code/Magento/Catalog/Model/ResourceModel/Product

1 file changed

+0
-1
lines changed

app/code/Magento/Catalog/Model/ResourceModel/Product/Gallery.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ protected function createBaseLoadSelect($entityId, $storeId, $attributeId)
170170
public function getMediaRecords(int $storeId, array $entityIds, bool $preserveSortOrder = false) : array
171171
{
172172
$output = [];
173-
$linkField = $this->metadata->getLinkField();
174173
$select = $this->createBatchBaseSelect($storeId)
175174
->where('cpe.entity_id IN (?)', $entityIds);
176175
if (!$preserveSortOrder) {

0 commit comments

Comments
 (0)