diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-07-31 17:30:01 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-07-31 17:30:01 +0000 |
commit | 77d94818a497a86ce5f5fed94dc7e1b568aa6fb7 (patch) | |
tree | b8402780f036034714b05905875267083b9ca08c /app/models/auth_source_ldap.rb | |
parent | a53894dd22b3338077d82f1e6d449f02d2dd3a81 (diff) | |
download | redmine-77d94818a497a86ce5f5fed94dc7e1b568aa6fb7.tar.gz redmine-77d94818a497a86ce5f5fed94dc7e1b568aa6fb7.zip |
Removed AuthSourceLdap.human_attribute_name.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10146 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/auth_source_ldap.rb')
-rw-r--r-- | app/models/auth_source_ldap.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/app/models/auth_source_ldap.rb b/app/models/auth_source_ldap.rb index d49e00dc6..5a32ffc2a 100644 --- a/app/models/auth_source_ldap.rb +++ b/app/models/auth_source_ldap.rb @@ -31,14 +31,6 @@ class AuthSourceLdap < AuthSource before_validation :strip_ldap_attributes - def self.human_attribute_name(attribute_key_name, *args) - attr_name = attribute_key_name.to_s - if attr_name == "filter" - attr_name = "ldap_filter" - end - super(attr_name, *args) - end - def initialize(attributes=nil, *args) super self.port = 389 if self.port == 0 |