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/workers/authorized_projects_worker.rb')
-rw-r--r--app/workers/authorized_projects_worker.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/app/workers/authorized_projects_worker.rb b/app/workers/authorized_projects_worker.rb
index afe14369d43..4312ba41367 100644
--- a/app/workers/authorized_projects_worker.rb
+++ b/app/workers/authorized_projects_worker.rb
@@ -14,17 +14,6 @@ class AuthorizedProjectsWorker
idempotent!
loggable_arguments 1 # For the job waiter key
- # This is a workaround for a Ruby 2.3.7 bug. rspec-mocks cannot restore the
- # visibility of prepended modules. See https://github.com/rspec/rspec-mocks/issues/1231
- # for more details.
- if Rails.env.test?
- def self.bulk_perform_and_wait(args_list, timeout: 10)
- end
-
- def self.bulk_perform_inline(args_list)
- end
- end
-
def perform(user_id)
user = User.find_by_id(user_id)