diff --git a/components/com_users/models/profile.php b/components/com_users/models/profile.php index 0659613b97fbe..5d49111f39870 100644 --- a/components/com_users/models/profile.php +++ b/components/com_users/models/profile.php @@ -177,10 +177,6 @@ public function getForm($data = array(), $loadData = true) return false; } - // For com_fields the context is com_users.user - JLoader::import('components.com_fields.helpers.fields', JPATH_ADMINISTRATOR); - FieldsHelper::prepareForm('com_users.user', $form, $data); - // Check for username compliance and parameter set $isUsernameCompliant = true; $username = $loadData ? $form->getValue('username') : $this->loadFormData()->username;