Skip to content

Commit 630dfd2

Browse files
committed
AC-9672: Fix for customer address extraction
1 parent 857cf9a commit 630dfd2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

app/code/Magento/Customer/Model/ResourceModel/CustomerRepository.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
use Magento\Customer\Api\Data\CustomerInterface;
1414
use Magento\Customer\Api\Data\CustomerSearchResultsInterfaceFactory;
1515
use Magento\Customer\Api\GroupRepositoryInterface;
16-
use Magento\Customer\Model\Address\AbstractAddress;
1716
use Magento\Customer\Model\Customer as CustomerModel;
1817
use Magento\Customer\Model\Customer\NotificationStorage;
1918
use Magento\Customer\Model\CustomerFactory;
@@ -580,7 +579,6 @@ private function validateDefaultAddress(
580579
): void {
581580
$addressId = $defaultAddressType === CustomerInterface::DEFAULT_BILLING ? $customer->getDefaultBilling()
582581
: $customer->getDefaultShipping();
583-
// echo "$defaultAddressType"; exit;
584582
if ($customer->getAddresses()) {
585583
foreach ($customer->getAddresses() as $address) {
586584
if ((int) $addressId === (int) $address->getId()) {

0 commit comments

Comments
 (0)