config/initializers/active_fedora_base.rb in ddr-models-3.0.0.beta.9 vs config/initializers/active_fedora_base.rb in ddr-models-3.0.0.beta.10

- old
+ new

@@ -35,16 +35,11 @@ def has_admin_policy? governable? && admin_policy.present? end - def has_rights_metadata? - ds = self.datastreams[Ddr::Datastreams::RIGHTS_METADATA] - ds && ds.size && ds.size > 0 - end - def can_have_struct_metadata? - datastreams.key? Ddr::Datastreams::STRUCT_METADATA + datastreams.key? Ddr::Models::File::STRUCT_METADATA end def has_struct_metadata? can_have_struct_metadata? && structMetadata.has_content? end