Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/registrations_controller.rb')
-rw-r--r--app/controllers/registrations_controller.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/app/controllers/registrations_controller.rb b/app/controllers/registrations_controller.rb
index 31fe30f3f06..aa35dcbf486 100644
--- a/app/controllers/registrations_controller.rb
+++ b/app/controllers/registrations_controller.rb
@@ -40,7 +40,6 @@ class RegistrationsController < Devise::RegistrationsController
persist_accepted_terms_if_required(new_user)
set_role_required(new_user)
- track_experiment_event(new_user)
send_custom_confirmation_instructions(new_user, token)
if pending_approval?
@@ -239,14 +238,6 @@ class RegistrationsController < Devise::RegistrationsController
current_user
end
- def track_experiment_event(new_user)
- # Track signed up event to relate it with click "Sign up" button events from
- # the experimental logged out header with marketing links. This allows us to
- # have a funnel of visitors clicking on the header and those visitors
- # signing up and becoming users
- experiment(:logged_out_marketing_header, actor: new_user).track(:signed_up) if new_user.persisted?
- end
-
def identity_verification_redirect_path
# overridden by EE module
end