diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-10-28 18:08:49 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-10-28 18:08:49 +0300 |
commit | 77d49e6a73b3a1e142ec865d05dc3dd9a708ab6a (patch) | |
tree | 8b208f19500d18308b47807d6d2f58262752afaa /app/services/feature_flags | |
parent | 24e7d185395af41290e5622cad160b7efe230145 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/feature_flags')
-rw-r--r-- | app/services/feature_flags/update_service.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/services/feature_flags/update_service.rb b/app/services/feature_flags/update_service.rb index c837e50b104..ed5e2e794b4 100644 --- a/app/services/feature_flags/update_service.rb +++ b/app/services/feature_flags/update_service.rb @@ -22,6 +22,10 @@ module FeatureFlags audit_event = audit_event(feature_flag) + if feature_flag.active_changed? + feature_flag.execute_hooks(current_user) + end + if feature_flag.save save_audit_event(audit_event) |