diff options
author | Go MAEDA <maeda@farend.jp> | 2020-01-30 05:27:52 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2020-01-30 05:27:52 +0000 |
commit | 47a71c80113eac70ac94dcc8d8eb3c9860e47959 (patch) | |
tree | 95a5663bf848341cb691890be725553aae3d22c4 /app/models/member.rb | |
parent | 10bb12e09f81dcc56f7a11342b841b9b7cf8d53e (diff) | |
download | redmine-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/member.rb')
-rw-r--r-- | app/models/member.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/member.rb b/app/models/member.rb index f03ede2d1..ad049a7d4 100644 --- a/app/models/member.rb +++ b/app/models/member.rb @@ -25,7 +25,7 @@ class Member < ActiveRecord::Base belongs_to :project validates_presence_of :principal, :project - validates_uniqueness_of :user_id, :scope => :project_id, :case_sensitive => false + validates_uniqueness_of :user_id, :scope => :project_id validate :validate_role before_destroy :set_issue_category_nil, :remove_from_project_default_assigned_to |