diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-04 15:09:39 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-04 15:09:39 +0300 |
commit | 8322f051740fba113c5c1f6fba96b9c943240746 (patch) | |
tree | bc695dfd5538f9378041f4a4fa6bd097ecf58954 /app/models/snippet.rb | |
parent | f9fe7cda4bdbc477d8d76e5def4023f7d03bab46 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/snippet.rb')
-rw-r--r-- | app/models/snippet.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/models/snippet.rb b/app/models/snippet.rb index 2e1a2e8e2b2..1a985ad1067 100644 --- a/app/models/snippet.rb +++ b/app/models/snippet.rb @@ -69,7 +69,6 @@ class Snippet < ApplicationRecord validates :visibility_level, inclusion: { in: Gitlab::VisibilityLevel.values } - after_save :store_mentions!, if: :any_mentionable_attributes_changed? after_create :create_statistics # Scopes |