@@ -502,7 +502,7 class Project < ActiveRecord::Base | |||
|
502 | 502 | assignable.select {|m| m.roles.detect {|role| role.assignable?}}.collect {|m| m.principal}.sort |
|
503 | 503 | end |
|
504 | 504 | |
|
505 | # Returns the mail adresses of users that should be always notified on project events | |
|
505 | # Returns the mail addresses of users that should be always notified on project events | |
|
506 | 506 | def recipients |
|
507 | 507 | notified_users.collect {|user| user.mail} |
|
508 | 508 | end |
@@ -514,7 +514,7 class Project < ActiveRecord::Base | |||
|
514 | 514 | end |
|
515 | 515 | |
|
516 | 516 | # Returns a scope of all custom fields enabled for project issues |
|
517 | # (explictly associated custom fields and custom fields enabled for all projects) | |
|
517 | # (explicitly associated custom fields and custom fields enabled for all projects) | |
|
518 | 518 | def all_issue_custom_fields |
|
519 | 519 | @all_issue_custom_fields ||= IssueCustomField. |
|
520 | 520 | sorted. |
General Comments 0
You need to be logged in to leave comments.
Login now