Project

General

Profile

« Previous | Next » 

Revision cf271e9b

Added by Marc Dequènes about 15 years ago

  • ID cf271e9b277bddda0d7abe35eb86b298cb72b74a

[fix] family display was broken

View differences:

lib/ldap_shadows/display_utils.rb
if options[:show_family_members]
puts "--- Family ---"
puts "parent: " + LdapObject.raw_item_info(item.family_parent)[:name]
puts "siblings: " + item.family_siblings.collect{|raw_item| LdapObject.raw_item_info(raw_item)[:name] }.join(", ")
puts "children: " + item.family_children.collect{|raw_item| LdapObject.raw_item_info(raw_item)[:name] }.join(", ")
puts "parent: " + item.class.raw_item_info(item.class.shadow, item.family_parent)[:name]
puts "siblings: " + item.family_siblings.collect{|raw_item| item.class.raw_item_info(item.class.shadow, raw_item)[:name] }.join(", ")
puts "children: " + item.family_children.collect{|raw_item| item.class.raw_item_info(item.class.shadow, raw_item)[:name] }.join(", ")
end
end
end

Also available in: Unified diff