]> source.dussan.org Git - redmine.git/commit
Change Project#notified_users to check for the 'all' notification option. #6541
authorEric Davis <edavis@littlestreamsoftware.com>
Sun, 10 Oct 2010 21:42:24 +0000 (21:42 +0000)
committerEric Davis <edavis@littlestreamsoftware.com>
Sun, 10 Oct 2010 21:42:24 +0000 (21:42 +0000)
commit700c302fca1ef401eff2744ffc5d955406136b17
tree971c3a59e56ba799c8ba61d546705a90d2d51347
parentd2986eb98fa4ec163cf09c82a36fff3ca8f5f48b
Change Project#notified_users to check for the 'all' notification option. #6541

The previous mail_notification? check would always pass since the
notifications where converted to strings and strings are always true.

Also changed Project#recipients to use #notified_users instead of duplicated
code.

Based on contribution by Felix Schäfer.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4247 e93f8b46-1217-0410-a6f0-8f06a7374b81
app/models/project.rb
test/unit/project_test.rb