summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-01-30 21:35:23 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-01-30 21:35:23 +0000
commit7cab59d220a15189165fc00e069297e5f6bbaf9e (patch)
tree269286598eafe109543e8d74e7100d7ab498a8a0 /lib
parent252804f7da50f73ed7de9561c87c5a34140d2eab (diff)
downloadredmine-7cab59d220a15189165fc00e069297e5f6bbaf9e.tar.gz
redmine-7cab59d220a15189165fc00e069297e5f6bbaf9e.zip
Reverts unwanted change (#24769).
git-svn-id: http://svn.redmine.org/redmine/trunk@16318 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine/field_format.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/redmine/field_format.rb b/lib/redmine/field_format.rb
index b502ec4f0..cfdab0e21 100644
--- a/lib/redmine/field_format.rb
+++ b/lib/redmine/field_format.rb
@@ -793,8 +793,6 @@ module Redmine
end
end
scope.sorted
- elsif object.nil?
- Principal.member_of(Project.visible.to_a).sorted.select {|p| p.is_a?(User)}
else
[]
end