module CurationConcerns
  module Collection
    extend ActiveSupport::Concern
    extend Deprecation
    include Hydra::Works::CollectionBehavior
    include Hydra::WithDepositor # for access to apply_depositor_metadata
    include Hydra::AccessControls::Permissions
    include CurationConcerns::RequiredMetadata
    include Hydra::Works::CollectionBehavior

    def add_members(new_member_ids)
      return if new_member_ids.nil? || new_member_ids.empty?
      members << ActiveFedora::Base.find(new_member_ids)
    end
  end
end

module CurationConcerns
  module Collection
    extend ActiveSupport::Concern
    extend Deprecation
    include Hydra::WithDepositor # for access to apply_depositor_metadata
    include Hydra::AccessControls::Permissions
    include CurationConcerns::RequiredMetadata
    include Hydra::Works::CollectionBehavior

    def add_members(new_member_ids)
      return if new_member_ids.nil? || new_member_ids.empty?
      members << ActiveFedora::Base.find(new_member_ids)
    end
  end
end

Remove duplicate include in CurationConcerns::Collection
Remove duplicate include in CurationConcerns::Collection
