File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
app/code/Magento/Customer/Model/ResourceModel Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change 13
13
use Magento \Customer \Api \Data \CustomerInterface ;
14
14
use Magento \Customer \Api \Data \CustomerSearchResultsInterfaceFactory ;
15
15
use Magento \Customer \Api \GroupRepositoryInterface ;
16
- use Magento \Customer \Model \Address \AbstractAddress ;
17
16
use Magento \Customer \Model \Customer as CustomerModel ;
18
17
use Magento \Customer \Model \Customer \NotificationStorage ;
19
18
use Magento \Customer \Model \CustomerFactory ;
@@ -580,7 +579,6 @@ private function validateDefaultAddress(
580
579
): void {
581
580
$ addressId = $ defaultAddressType === CustomerInterface::DEFAULT_BILLING ? $ customer ->getDefaultBilling ()
582
581
: $ customer ->getDefaultShipping ();
583
- // echo "$defaultAddressType"; exit;
584
582
if ($ customer ->getAddresses ()) {
585
583
foreach ($ customer ->getAddresses () as $ address ) {
586
584
if ((int ) $ addressId === (int ) $ address ->getId ()) {
You can’t perform that action at this time.
0 commit comments