Revision 72316144
Added by Marc Dequènes over 14 years ago
- ID 7231614408e1dfea3bb3c282a13852f354c1f1ff
lib/ldap_shadows/elements/object.rb | ||
---|---|---|
|
||
def check_hooks_after(action)
|
||
# TODO: move this in the LdapAspect class
|
||
self.aspects.each do |aspect|
|
||
self.aspects.each do |aspect_name, aklass|
|
||
begin
|
||
aklass = self.class.shadow.get_aspect(aspect)
|
||
next if aklass.nil?
|
||
|
||
case action
|
||
when :save
|
||
if self.new_entry?
|
Also available in: Unified diff
[fix] correct aspect hooks call #2