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/services/feature_flags/destroy_service.rb')
-rw-r--r--app/services/feature_flags/destroy_service.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/services/feature_flags/destroy_service.rb b/app/services/feature_flags/destroy_service.rb
index 817a80940c0..0fdc890b8a3 100644
--- a/app/services/feature_flags/destroy_service.rb
+++ b/app/services/feature_flags/destroy_service.rb
@@ -13,6 +13,8 @@ module FeatureFlags
ApplicationRecord.transaction do
if feature_flag.destroy
+ update_last_feature_flag_updated_at!
+
success(feature_flag: feature_flag)
else
error(feature_flag.errors.full_messages)