diff options
author | Robert Speicher <rspeicher@gmail.com> | 2017-04-10 18:41:36 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2017-04-10 18:41:36 -0400 |
commit | a1a94e739e73adf0225aa823e476b15e30b9bb30 (patch) | |
tree | 453fd51204ca62091bbe0285e3a7148085e58626 /app/models/issue.rb | |
parent | add1c188603ac4f9f895e5cb84a48ebc1deee394 (diff) | |
download | gitlab-ce-a1a94e739e73adf0225aa823e476b15e30b9bb30.tar.gz |
Remove an unused `cared` scope from Issue and MergeRequestrs-remove-open-for-scope
Diffstat (limited to 'app/models/issue.rb')
-rw-r--r-- | app/models/issue.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb index 889f91d87ba..d39ae3a6c92 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -26,7 +26,6 @@ class Issue < ActiveRecord::Base validates :project, presence: true - scope :cared, ->(user) { where(assignee_id: user) } scope :in_projects, ->(project_ids) { where(project_id: project_ids) } scope :without_due_date, -> { where(due_date: nil) } |