diff options
author | Oswaldo Ferreira <oswaldo@gitlab.com> | 2018-05-30 18:14:56 +0300 |
---|---|---|
committer | Oswaldo Ferreira <oswaldo@gitlab.com> | 2018-05-30 18:14:56 +0300 |
commit | db926729660d66098db717ae9f64fab0cd2f601f (patch) | |
tree | 137642f8faa77a62301c6cf3612093b497e39f46 /app/models/concerns/issuable.rb | |
parent | 54ad5fb8a2b9e90a83cd5714d935b8ea0664eb03 (diff) |
Ensure metrics regardless of being imported on MRs
Diffstat (limited to 'app/models/concerns/issuable.rb')
-rw-r--r-- | app/models/concerns/issuable.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/models/concerns/issuable.rb b/app/models/concerns/issuable.rb index b45395343cc..44150b37708 100644 --- a/app/models/concerns/issuable.rb +++ b/app/models/concerns/issuable.rb @@ -97,8 +97,6 @@ module Issuable strip_attributes :title - after_save :ensure_metrics, unless: :imported? - # We want to use optimistic lock for cases when only title or description are involved # http://api.rubyonrails.org/classes/ActiveRecord/Locking/Optimistic.html def locking_enabled? |