diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-11-07 21:06:14 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-11-07 21:06:14 +0000 |
commit | c324100967bbdd3f2f0ca3406c9261d35e69f148 (patch) | |
tree | ecfd5d521d90792cbc922309e6930b1ba2badff6 /app/models/concerns/milestoneish.rb | |
parent | d8ccc7a00b7a1ea954263170a2044257424a2cfe (diff) | |
download | gitlab-ce-c324100967bbdd3f2f0ca3406c9261d35e69f148.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/concerns/milestoneish.rb')
-rw-r--r-- | app/models/concerns/milestoneish.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/concerns/milestoneish.rb b/app/models/concerns/milestoneish.rb index 42b370990ac..b1a7d7ec819 100644 --- a/app/models/concerns/milestoneish.rb +++ b/app/models/concerns/milestoneish.rb @@ -101,6 +101,10 @@ module Milestoneish false end + def global_milestone? + false + end + def total_issue_time_spent @total_issue_time_spent ||= issues.joins(:timelogs).sum(:time_spent) end |