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/services/users/dismiss_user_callout_service.rb')
-rw-r--r--app/services/users/dismiss_user_callout_service.rb17
1 files changed, 0 insertions, 17 deletions
diff --git a/app/services/users/dismiss_user_callout_service.rb b/app/services/users/dismiss_user_callout_service.rb
deleted file mode 100644
index 96f3f3acb57..00000000000
--- a/app/services/users/dismiss_user_callout_service.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-module Users
- class DismissUserCalloutService < BaseContainerService
- def execute
- callout.tap do |record|
- record.update(dismissed_at: Time.current) if record.valid?
- end
- end
-
- private
-
- def callout
- current_user.find_or_initialize_callout(params[:feature_name])
- end
- end
-end