Commit a520b5a4 authored by Aishwarya Subramanian's avatar Aishwarya Subramanian

Moved construction of name to EE namespace

parent 1a90baa1
......@@ -109,10 +109,6 @@ module Users
if user_params[:skip_confirmation].nil?
user_params[:skip_confirmation] = skip_user_confirmation_email_from_setting
end
if (user_params[:first_name].present? || user_params[:last_name].present?) && !user_params[:name].present?
user_params[:name] = "#{user_params[:first_name]} #{user_params[:last_name]}"
end
end
if user_default_internal_regex_enabled? && !user_params.key?(:external)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment