Project

General

Profile

« Previous | Next » 

Revision accc97fc

Added by Marc Dequènes over 14 years ago

  • ID accc97fc6c0f1be28509ccdb5681471c097b6b6e

[cleanup] simplifications thanks to default config

View differences:

lib/ldap_shadows/shadow.rb
item_list[ActiveLdap::DistinguishedName.parse(item.dn)]= item
end
else
(self.get_config[:presentation][:tree_objects] || []).each do |obj_hdl|
self.get_config[:presentation][:tree_objects].each do |obj_hdl|
obj_klass = get_object(obj_hdl.downcase)
unless obj_klass
raise PreProcessingError, _("Tree object '%s' not defined") % obj_hdl

Also available in: Unified diff