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:
Jean-Philippe Lang
2011-12-18 14:57:58 +00:00
parent 062fbeae80
commit 9e83ee2ddf
8 changed files with 14 additions and 11 deletions
+2 -1
View File
@@ -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