⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
LdapShadows
All Projects
DuckCorp
»
LdapShadows
Overview
Activity
Roadmap
Issues
News
Wiki
Files
Repository
Download (183 Bytes)
Statistics
| Branch:
0.1.x
master
| Tag:
0.1.0
| Revision:
root
/
conf
/
ldap_shadows
/
worlds
/
MilkyPond
/
shadows
/
Administration
/
plugins
/
objects
/
individual.rb
@ 4b490148
View
History
Annotate
7b832340
Marc Dequènes (Duck)
953a2b4d
Marc Dequènes (Duck)
def
self
.
hook_before_create
(
item
)
7b832340
Marc Dequènes (Duck)
unless
item
.
attribute_present?
(
'cn'
)
cn
=
item
.
surname
||
""
cn
=
item
.
givenName
+
" "
+
cn
if
item
.
givenName
item
.
cn
=
cn
end
end
Loading...