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/models/issue/metrics.rb')
-rw-r--r--app/models/issue/metrics.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/issue/metrics.rb b/app/models/issue/metrics.rb
index 3c1fcea9e6f..4436696cc1a 100644
--- a/app/models/issue/metrics.rb
+++ b/app/models/issue/metrics.rb
@@ -13,10 +13,6 @@ class Issue::Metrics < ActiveRecord::Base
self.save if self.changed?
end
- def record_commit_mention!(commit_time)
- self.update(first_mentioned_in_commit_at: commit_time) if self.first_mentioned_in_commit_at.blank?
- end
-
private
def issue_assigned_to_list_label?