]> source.dussan.org Git - redmine.git/commitdiff
Reverts unwanted change (#24769).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 30 Jan 2017 21:35:23 +0000 (21:35 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 30 Jan 2017 21:35:23 +0000 (21:35 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@16318 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/field_format.rb

index b502ec4f0289a0986321874b6320010f30ab5a29..cfdab0e21c5672f36172ebb90252855cf7125fcb 100644 (file)
@@ -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