Removed non required comment

This commit is contained in:
vishalsingh.qlo325
2025-05-16 15:19:58 +05:30
parent 96842e7f9d
commit bc24f6beaf

View File

@@ -474,7 +474,6 @@ class AdminAddressesControllerCore extends AdminController
$this->_redirect = false;
// set deleted=1 as customer can have only one address and this address is for an order only
$_POST['deleted'] = 1;
// Clearing the cache for customer address.
// if the deleted address is the customer current address then we will create a new one using the same information.
if (($customerAddressId = Address::getFirstCustomerAddressId((int) $address->id_customer))
&& $customerAddressId == $address->id