29 if (!
$address->getIsCustomerSaveTransaction() && !empty($toUpdate)) {
30 $address->getResource()->getConnection()->update(
31 $address->getResource()->getTable(
'customer_entity'),
33 $address->getResource()->getConnection()->quoteInto(
'entity_id = ?',
$customer->getId())
45 private function getDataToUpdate(
deleteRelation(\Magento\Framework\Model\AbstractModel $address, \Magento\Customer\Model\Customer $customer)