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:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-10-14 18:14:02 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-10-14 18:14:02 +0300
commit4898e4654b2aca7b0cbd0f57f44baa47580ad774 (patch)
tree9827994a3ef6e451fa5f6080d1bd4d56874d2b2f /app/models/operations
parent24952631402d6fb352749c688bc059d6ca74217d (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/operations')
-rw-r--r--app/models/operations/feature_flag.rb7
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,