diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-02-13 17:32:26 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-02-13 17:32:26 +0000 |
commit | 9548d39a15c15338c790f18cdced3b17029af282 (patch) | |
tree | ea5e1de22704396fb0729550dfaca76a1a18f469 /app/controllers/issues_controller.rb | |
parent | 2b124f1e61da30a103f78a645e0237cb8c14d577 (diff) | |
download | redmine-9548d39a15c15338c790f18cdced3b17029af282.tar.gz redmine-9548d39a15c15338c790f18cdced3b17029af282.zip |
Moved users list diplayed as available watchers on the new issue form to an helper.
git-svn-id: http://svn.redmine.org/redmine/trunk@13995 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/issues_controller.rb')
-rw-r--r-- | app/controllers/issues_controller.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb index b95856a19..13de1661a 100644 --- a/app/controllers/issues_controller.rb +++ b/app/controllers/issues_controller.rb @@ -466,10 +466,6 @@ class IssuesController < ApplicationController @priorities = IssuePriority.active @allowed_statuses = @issue.new_statuses_allowed_to(User.current, @issue.new_record?) - @available_watchers = @issue.watcher_users - if @issue.project.users.count <= 20 - @available_watchers = (@available_watchers + @issue.project.users.sort).uniq - end end def parse_params_for_bulk_issue_attributes(params) |