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/elements/aspect.rb
def self.cast_relations
super
deps = self.parameters[:mapping][:depend_aspects] || []
deps = self.parameters[:mapping][:depend_aspects]
deps.each do |aspect_name|
aspect = self.shadow.get_aspect(aspect_name)
if aspect.nil?

Also available in: Unified diff