Skip to content

Commit c77792b

Browse files
AC-9871 improve customer profile page
1 parent 17b0d73 commit c77792b

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

app/code/Magento/Customer/Controller/Account/EditPost.php

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -299,26 +299,6 @@ public function execute()
299299
return $resultRedirect;
300300
}
301301

302-
/**
303-
* Convert comma-separated list of attributes to delete into array
304-
*
305-
* @param string $attribute
306-
* @return array
307-
*/
308-
private function prepareAttributesToDelete(string $attribute) : array
309-
{
310-
$result = [];
311-
if ($attribute !== "") {
312-
if (str_contains($attribute, ',')) {
313-
$result = explode(',', $attribute);
314-
} else {
315-
$result[] = $attribute;
316-
}
317-
$result = array_unique($result);
318-
}
319-
return $result;
320-
}
321-
322302
/**
323303
* Adds a complex success message if email confirmation is required
324304
*

0 commit comments

Comments
 (0)