Removed after_initialize methods.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8288 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -27,7 +27,8 @@ class AuthSourceLdap < AuthSource
|
||||
|
||||
before_validation :strip_ldap_attributes
|
||||
|
||||
def after_initialize
|
||||
def initialize(attributes=nil, *args)
|
||||
super
|
||||
self.port = 389 if self.port == 0
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user