Project

General

Profile

Feature #1265 » versioned_files.patch

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

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
    (1-1/1)