diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-10-14 18:14:02 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-10-14 18:14:02 +0300 |
commit | 4898e4654b2aca7b0cbd0f57f44baa47580ad774 (patch) | |
tree | 9827994a3ef6e451fa5f6080d1bd4d56874d2b2f /app/models/operations | |
parent | 24952631402d6fb352749c688bc059d6ca74217d (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/operations')
-rw-r--r-- | app/models/operations/feature_flag.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/app/models/operations/feature_flag.rb b/app/models/operations/feature_flag.rb index 28e8cf52d83..7db396bcad5 100644 --- a/app/models/operations/feature_flag.rb +++ b/app/models/operations/feature_flag.rb @@ -98,13 +98,6 @@ module Operations Ability.issues_readable_by_user(issues, current_user) end - def execute_hooks(current_user) - run_after_commit do - feature_flag_data = Gitlab::DataBuilder::FeatureFlag.build(self, current_user) - project.execute_hooks(feature_flag_data, :feature_flag_hooks) - end - end - def hook_attrs { id: id, |