summaryrefslogtreecommitdiff
path: root/app/models/concerns/milestoneish.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-11-07 21:06:14 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2019-11-07 21:06:14 +0000
commitc324100967bbdd3f2f0ca3406c9261d35e69f148 (patch)
treeecfd5d521d90792cbc922309e6930b1ba2badff6 /app/models/concerns/milestoneish.rb
parentd8ccc7a00b7a1ea954263170a2044257424a2cfe (diff)
downloadgitlab-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.rb4
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