versioned_files.patch

Karel Pičman, 2019-03-13 07:59

Download (408 Bytes)

View differences:

app/models/version.rb (working copy)
351 351
  end
352 352

  
353 353
  def deletable?
354
    fixed_issues.empty? && !referenced_by_a_custom_field?
354
    fixed_issues.empty? && !referenced_by_a_custom_field? && attachments.blank?
355 355
  end
356 356

  
357 357
  def default_project_version