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:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-12-05 15:07:43 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2019-12-05 15:07:43 +0300
commit872319738757edc0483346c75a2407f7019b963f (patch)
treed5953edec6184dda1f53c5994c3ebcebc9e815a2 /app/services/cohorts_service.rb
parent8f764d21b0011056e1492d92afe3bd40b847b9f7 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/cohorts_service.rb')
-rw-r--r--app/services/cohorts_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/cohorts_service.rb b/app/services/cohorts_service.rb
index dbbe89ef260..03be87f4cc1 100644
--- a/app/services/cohorts_service.rb
+++ b/app/services/cohorts_service.rb
@@ -38,7 +38,7 @@ class CohortsService
{
registration_month: registration_month,
- activity_months: activity_months,
+ activity_months: activity_months[1..-1],
total: activity_months.first[:total],
inactive: inactive
}