We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca5efbf commit 888ae6aCopy full SHA for 888ae6a
app/code/Magento/Customer/Controller/Adminhtml/Index/Validate.php
@@ -163,11 +163,6 @@ protected function _validateCustomer($response)
163
$entity_id = $submittedData['entity_id'];
164
$customer->setId($entity_id);
165
}
166
- /* if (isset($data['website_id']) && is_numeric($data['website_id'])) {
167
- $website = $this->storeManager->getWebsite($data['website_id']);
168
- $storeId = current($website->getStoreIds());
169
- $this->storeManager->setCurrentStore($storeId);
170
- }*/
171
$errors = $this->customerAccountManagement->validate($customer)->getMessages();
172
} catch (\Magento\Framework\Validator\Exception $exception) {
173
/* @var $error Error */
0 commit comments