Feature #1265 » versioned_files.patch
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 |