summaryrefslogtreecommitdiffstats
path: root/app/models/issue_relation.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2020-01-30 05:27:52 +0000
committerGo MAEDA <maeda@farend.jp>2020-01-30 05:27:52 +0000
commit47a71c80113eac70ac94dcc8d8eb3c9860e47959 (patch)
tree95a5663bf848341cb691890be725553aae3d22c4 /app/models/issue_relation.rb
parent10bb12e09f81dcc56f7a11342b841b9b7cf8d53e (diff)
downloadredmine-47a71c80113eac70ac94dcc8d8eb3c9860e47959.tar.gz
redmine-47a71c80113eac70ac94dcc8d8eb3c9860e47959.zip
Reverts r19478 (#32897).
git-svn-id: http://svn.redmine.org/redmine/trunk@19479 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/issue_relation.rb')
-rw-r--r--app/models/issue_relation.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/issue_relation.rb b/app/models/issue_relation.rb
index 07354680b..284f0052a 100644
--- a/app/models/issue_relation.rb
+++ b/app/models/issue_relation.rb
@@ -72,7 +72,7 @@ class IssueRelation < ActiveRecord::Base
validates_presence_of :issue_from, :issue_to, :relation_type
validates_inclusion_of :relation_type, :in => TYPES.keys
validates_numericality_of :delay, :allow_nil => true
- validates_uniqueness_of :issue_to_id, :scope => :issue_from_id, :case_sensitive => false
+ validates_uniqueness_of :issue_to_id, :scope => :issue_from_id
validate :validate_issue_relation
before_save :handle_issue_order