diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-02-15 07:48:37 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-02-15 07:48:37 +0000 |
commit | ee1d9647b86f9e886cea07abe6e4e4126352a018 (patch) | |
tree | 42463aa055c9f767f66832729d90d73920cfe29b /app/models/group.rb | |
parent | 5891a873fbf5fe934c1d5fef2d4c763c604d4c32 (diff) | |
download | redmine-ee1d9647b86f9e886cea07abe6e4e4126352a018.tar.gz redmine-ee1d9647b86f9e886cea07abe6e4e4126352a018.zip |
Raised group name maximum length to 255 characters (#13174).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11392 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/group.rb')
-rw-r--r-- | app/models/group.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/group.rb b/app/models/group.rb index 23d2e39b4..fd0f583f7 100644 --- a/app/models/group.rb +++ b/app/models/group.rb @@ -25,7 +25,7 @@ class Group < Principal validates_presence_of :lastname validates_uniqueness_of :lastname, :case_sensitive => false - validates_length_of :lastname, :maximum => 30 + validates_length_of :lastname, :maximum => 255 before_destroy :remove_references_before_destroy |