diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-10-10 03:12:47 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-10-10 03:12:47 +0300 |
commit | cf66f24775fed5c73cda783abf25c1281e81fedf (patch) | |
tree | d2fdbfb7182a689fe776dde6ff26172c309858f4 /app/models | |
parent | 94539479513935f6a50209194a2836f860960f3a (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/member.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/app/models/member.rb b/app/models/member.rb index cdf40eaa8f5..248cad00c26 100644 --- a/app/models/member.rb +++ b/app/models/member.rb @@ -577,12 +577,6 @@ class Member < ApplicationRecord def after_accept_invite post_create_hook - - run_after_commit_or_now do - if member_task - TasksToBeDone::CreateWorker.perform_async(member_task.id, created_by_id, [user_id.to_i]) - end - end end def after_decline_invite |