summaryrefslogtreecommitdiff
path: root/app/models/concerns/issuable.rb
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2017-04-03 14:31:48 -0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2017-04-03 15:50:22 -0300
commita6affc66dc93e178f6f96a84fae5a481c1a9803a (patch)
treec49316ec00bcbcdeae0fe9ff13a69e9a5323afe9 /app/models/concerns/issuable.rb
parent0b7d10fb2dd3470a8328133f3273ad9d499e3af2 (diff)
downloadgitlab-ce-a6affc66dc93e178f6f96a84fae5a481c1a9803a.tar.gz
Rename skip_metrics to imported on the importable concern
Diffstat (limited to 'app/models/concerns/issuable.rb')
-rw-r--r--app/models/concerns/issuable.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/concerns/issuable.rb b/app/models/concerns/issuable.rb
index 863b43cec76..b4dded7e27e 100644
--- a/app/models/concerns/issuable.rb
+++ b/app/models/concerns/issuable.rb
@@ -100,7 +100,7 @@ module Issuable
acts_as_paranoid
after_save :update_assignee_cache_counts, if: :assignee_id_changed?
- after_save :record_metrics, unless: :skip_metrics?
+ after_save :record_metrics, unless: :imported?
def update_assignee_cache_counts
# make sure we flush the cache for both the old *and* new assignees(if they exist)