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:
authorRobert Speicher <rspeicher@gmail.com>2017-04-11 01:32:30 +0300
committerRobert Speicher <rspeicher@gmail.com>2017-04-11 01:32:30 +0300
commitadd1c188603ac4f9f895e5cb84a48ebc1deee394 (patch)
treeec0d869ddfcc197c6b0799dccefa7d89793f2974 /app/models/issue.rb
parent9c576cc7e9414e64b4aac0544615e7d5e92c3558 (diff)
Remove an unused `Issue.open_for` scope
Diffstat (limited to 'app/models/issue.rb')
-rw-r--r--app/models/issue.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb
index d8d9db477d2..889f91d87ba 100644
--- a/app/models/issue.rb
+++ b/app/models/issue.rb
@@ -27,7 +27,6 @@ class Issue < ActiveRecord::Base
validates :project, presence: true
scope :cared, ->(user) { where(assignee_id: user) }
- scope :open_for, ->(user) { opened.assigned_to(user) }
scope :in_projects, ->(project_ids) { where(project_id: project_ids) }
scope :without_due_date, -> { where(due_date: nil) }