Skip to content

Commit bbd43bd

Browse files
authored
MAGETWO-65774: [GitHub][PR] Remove superfluous method call. #5620
2 parents 57b93c9 + d551f96 commit bbd43bd

File tree

1 file changed

+0
-1
lines changed
  • lib/internal/Magento/Framework/EntityManager/Db

1 file changed

+0
-1
lines changed

lib/internal/Magento/Framework/EntityManager/Db/ReadRow.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ public function execute($entityType, $identifier, $context = [])
4949
{
5050
$metadata = $this->metadataPool->getMetadata($entityType);
5151
$connection = $this->resourceConnection->getConnectionByName($metadata->getEntityConnectionName());
52-
$metadata = $this->metadataPool->getMetadata($entityType);
5352
$select = $connection->select()
5453
->from(['t' => $metadata->getEntityTable()])
5554
->where($metadata->getIdentifierField() . ' = ?', $identifier);

0 commit comments

Comments
 (0)