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>2020-05-15 12:07:59 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-05-15 12:07:59 +0300
commite5731d5194e20deb33725943248c5899e4fdf05d (patch)
treeaac082e7b302151dfe38a8a58c0c90f1a66fa017 /app/models/concerns/timebox.rb
parent1e9d859394883d104191c51fa18c2353f7bcc1fd (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/concerns/timebox.rb')
-rw-r--r--app/models/concerns/timebox.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/models/concerns/timebox.rb b/app/models/concerns/timebox.rb
index b460baff8bc..d29e6a01c56 100644
--- a/app/models/concerns/timebox.rb
+++ b/app/models/concerns/timebox.rb
@@ -53,7 +53,6 @@ module Timebox
scope :of_projects, ->(ids) { where(project_id: ids) }
scope :of_groups, ->(ids) { where(group_id: ids) }
- scope :active, -> { with_state(:active) }
scope :closed, -> { with_state(:closed) }
scope :for_projects, -> { where(group: nil).includes(:project) }
scope :with_title, -> (title) { where(title: title) }