summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinichi Maeshima <netwillnet@gmail.com>2017-09-11 09:25:54 +0000
committerShinichi Maeshima <netwillnet@gmail.com>2017-09-11 09:25:54 +0000
commit86ec2bf1a11afc6d1a513d8fe3e6cc018d2e5901 (patch)
tree0c37318df8f96e9b7e721dcdbd09e15933ec61b6
parent5136abae7c3f034ebe38d4a88000fa764a351650 (diff)
downloadgitlab-ce-86ec2bf1a11afc6d1a513d8fe3e6cc018d2e5901.tar.gz
Delete duplicated lines.
-rw-r--r--app/models/issue.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb
index 8c7d492e605..cd5056aae5e 100644
--- a/app/models/issue.rb
+++ b/app/models/issue.rb
@@ -30,9 +30,6 @@ class Issue < ActiveRecord::Base
has_many :issue_assignees
has_many :assignees, class_name: "User", through: :issue_assignees
- has_many :issue_assignees
- has_many :assignees, class_name: "User", through: :issue_assignees
-
validates :project, presence: true
scope :in_projects, ->(project_ids) { where(project_id: project_ids) }